summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorJohannes Schönberger <hannesschoenberger@gmail.com>2013-01-01 10:10:18 +0100
committerJohannes Schönberger <jschoenberger@demuc.de>2013-06-06 21:15:14 +0200
commit6c5ef3406baf4e91fb0adfce053d2368bc09566b (patch)
tree13d2e4ca7fe6ea5917a9935a315deaed1196910d /numpy/core/numeric.py
parent87d884e83312a38cdce626a9fb026fa5fd740049 (diff)
downloadnumpy-6c5ef3406baf4e91fb0adfce053d2368bc09566b.tar.gz
Add more related functions
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 0636af87d..09797b990 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -243,9 +243,11 @@ def nans(shape, dtype=None, order='C'):
ones_like : Return an array of ones with shape and type of input.
empty_like : Return an empty array with shape and type of input.
nans_like : Return an array of nans with shape and type of input.
+ infs_like : Return an array of infs with shape and type of input.
zeros : Return a new array setting values to zero.
ones : Return a new array setting values to one.
empty : Return a new uninitialized array.
+ infs : Return a new array setting values to inf.
"""
@@ -283,10 +285,12 @@ def nans_like(a, dtype=None, order='K', subok=True):
zeros_like : Return an array of zeros with shape and type of input.
ones_like : Return an array of ones with shape and type of input.
empty_like : Return an empty array with shape and type of input.
+ infs_like : Return an array of infs with shape and type of input.
zeros : Return a new array setting values to zero.
ones : Return a new array setting values to one.
empty : Return a new uninitialized array.
nans : Return a new array setting values to nan.
+ infs : Return a new array setting values to inf.
"""
@@ -311,6 +315,7 @@ def infs(shape, dtype=None, order='C'):
zeros : Return a new array setting values to zero.
ones : Return a new array setting values to one.
empty : Return a new uninitialized array.
+ nans : Return a new array setting values to nan.
"""