diff options
author | Lars Buitinck <larsmans@gmail.com> | 2013-10-15 18:17:35 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2013-11-30 19:35:44 +0100 |
commit | f57b255e3e83f308480d1c471aa4104b04f41e17 (patch) | |
tree | ccd9689e374173c9da5a320be998e3d787615607 /numpy/lib/arraypad.py | |
parent | 1e624fa13455e932573b9f421d2865e1fea0cd48 (diff) | |
download | numpy-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