diff options
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r-- | numpy/core/fromnumeric.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py index 6dacdbf52..77123c780 100644 --- a/numpy/core/fromnumeric.py +++ b/numpy/core/fromnumeric.py @@ -379,6 +379,8 @@ def amax(a, axis=None, out=None): return _wrapit(a, 'max', axis, out) return amax(axis, out) +max = amax + def amin(a, axis=None, out=None): """Return the minimum of a along dimension axis. """ @@ -388,6 +390,8 @@ def amin(a, axis=None, out=None): return _wrapit(a, 'min', axis, out) return amin(axis, out) +min = amin + def alen(a): """Return the length of a Python object interpreted as an array of at least 1 dimension. @@ -458,6 +462,8 @@ def round_(a, decimals=0, out=None): around = round_ +round = round_ + def mean(a, axis=None, dtype=None, out=None): """mean(a, axis=None, dtype=None) Return the arithmetic mean. |