summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorMark Wiebe <mwiebe@enthought.com>2011-08-02 17:06:20 -0500
committerCharles Harris <charlesr.harris@gmail.com>2011-08-27 07:26:50 -0600
commit00dff152bb10c810176c7e47ad41e563df602208 (patch)
tree156498d06b040209f4581edb1b91f620c5b98afe /numpy/core/arrayprint.py
parent0375181e807f9def0e1bd0279214f5a00ec55485 (diff)
downloadnumpy-00dff152bb10c810176c7e47ad41e563df602208.tar.gz
ENH: umath: Make sum, prod, any, or functions use the .reduce method directly
This required some extensive changes, like: * Making logical_or, logical_and, and logical_not on object arrays behave like their Python equivalents instead of calling methods on the objects * Changing the units for a fair number of the binary operations to None, so they don't get initialized to their unit values at the start A consequence of this is that multi-dimensional reductions like sum, prod, any, or all no longer need to make copies, so are faster in some cases.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions