summaryrefslogtreecommitdiff
path: root/numpy/lib/arraypad.py
diff options
context:
space:
mode:
authorLars Buitinck <larsmans@gmail.com>2013-10-15 18:17:35 +0200
committerJulian Taylor <jtaylor.debian@googlemail.com>2013-11-30 19:35:44 +0100
commitf57b255e3e83f308480d1c471aa4104b04f41e17 (patch)
treeccd9689e374173c9da5a320be998e3d787615607 /numpy/lib/arraypad.py
parent1e624fa13455e932573b9f421d2865e1fea0cd48 (diff)
downloadnumpy-f57b255e3e83f308480d1c471aa4104b04f41e17.tar.gz
ENH: umath: simplify pairwise sum
Simple recursive implementation with unrolled base case. Also fixed signed/unsigned issues by making all indices signed. Added a unit test based on @juliantaylor's example. Performance seems unchanged: still about a third faster than before.
Diffstat (limited to 'numpy/lib/arraypad.py')
0 files changed, 0 insertions, 0 deletions