diff options
author | Timo Kluck <tkluck@infty.nl> | 2011-12-29 18:42:26 +0100 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-04-01 08:20:25 -0600 |
commit | b9576ed22a57cb8c7bf04038c5792bb2b499f390 (patch) | |
tree | 13cafe8b02eab06cba5da24f963c996761a66715 /numpy/core/fromnumeric.py | |
parent | 72185d34170369ec07e8e84ed18d2f6a814e327a (diff) | |
download | numpy-b9576ed22a57cb8c7bf04038c5792bb2b499f390.tar.gz |
ENH: improve interp() speed in some cases.
The interp function was computing slopes for all intervals, even when there
were only a few points to be interpolated. Now it only does so when the
number of interpolation points exceeds the number of sample points.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions