diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-01-11 08:27:34 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-01-11 08:27:34 +0000 |
commit | 9a1d729679a1470530014a0ed79bbd7b42fecfa6 (patch) | |
tree | 58cbc9a3eb0d52d9e3498ad5342dad6e61d499b0 /numpy/core/oldnumeric.py | |
parent | efa20eba4c84c282c1932cbd3a0f4154a3e7a026 (diff) | |
download | numpy-9a1d729679a1470530014a0ed79bbd7b42fecfa6.tar.gz |
Rename arguments in arraysetops to follow convention. Add bsum for builtin sum.
Diffstat (limited to 'numpy/core/oldnumeric.py')
-rw-r--r-- | numpy/core/oldnumeric.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/numpy/core/oldnumeric.py b/numpy/core/oldnumeric.py index e7c45ccc1..ac35feab6 100644 --- a/numpy/core/oldnumeric.py +++ b/numpy/core/oldnumeric.py @@ -24,7 +24,7 @@ __all__ = ['asarray', 'array', 'concatenate', 'compress', 'clip', 'sum', 'product', 'prod', 'sometrue', 'alltrue', 'any', 'all', 'cumsum', 'cumproduct', 'cumprod', 'ptp', 'ndim', 'rank', 'size', 'around', 'round_', 'mean', 'std', 'var', 'squeeze', - 'amax', 'amin' + 'amax', 'amin','bsum' ] import multiarray as mu @@ -48,6 +48,9 @@ arraytype = mu.ndarray LittleEndian = (sys.byteorder == 'little') +# save away Python sum +bsum = sum + # backward compatible names from old Precision.py Character = 'S1' |