summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/fromnumeric.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 9f433d17b..bf8971e93 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1116,33 +1116,6 @@ def alltrue (a, axis=None, out=None):
return any(axis, out)
-def alltrue (a, axis=None, out=None):
- """Check if all of the elements of `a` are true.
-
- Performs a logical_and over the given axis and returns the result
-
- Parameters
- ----------
- a : array_like
- axis : {None, integer}
- Axis to perform the operation over.
- If None, perform over flattened array.
- out : {None, array}, optional
- Array into which the product can be placed. Its type is preserved
- and it must be of the right shape to hold the output.
-
- See Also
- --------
- ndarray.all : equivalent method
-
- """
- try:
- all = a.all
- except AttributeError:
- return _wrapit(a, 'all', axis, out)
- return all(axis, out)
-
-
def any(a,axis=None, out=None):
"""Check if any of the elements of `a` are true.