Skip to content

Commit

Permalink
Add more related functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojnnes committed Jun 6, 2013
1 parent 87d884e commit 6c5ef34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions numpy/core/numeric.py
Expand Up @@ -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.
"""

Expand Down Expand Up @@ -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.
"""

Expand All @@ -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.
"""

Expand Down

0 comments on commit 6c5ef34

Please sign in to comment.