diff options
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index aaf8989c3..36dcb0ab6 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -18,7 +18,7 @@ __all__ = ['newaxis', 'ndarray', 'flatiter', 'ufunc', 'seterr', 'geterr', 'setbufsize', 'getbufsize', 'seterrcall', 'geterrcall', 'flatnonzero', 'Inf', 'inf', 'infty', 'Infinity', - 'nan', 'NaN', 'False_', 'True_'] + 'nan', 'NaN', 'False_', 'True_', 'bitwise_not'] import sys import multiarray @@ -27,6 +27,8 @@ from umath import * import numerictypes from numerictypes import * +bitwise_not = invert + # from Fernando Perez's IPython def zeros_like(a): """Return an array of zeros of the shape and typecode of a. |