summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-08-24 08:36:48 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-08-24 08:36:48 +0000
commitca059fbcebb498f68ccf5eecd692b4c90a6b4bb7 (patch)
treef63a853fab72bb5f9146a55a1c71951c5fb74eac /numpy/core/fromnumeric.py
parent9ab77ec1e9fdd2ebe5dfe2eccd7ad129189ea076 (diff)
downloadnumpy-ca059fbcebb498f68ccf5eecd692b4c90a6b4bb7.tar.gz
Add rudimentary interrupt handliNG. Add max, min, round, abs to the numpy space.
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py6
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.