2011/8/1 Timo Kluck :
> I just submitted a patch at
> http://projects.scipy.org/numpy/ticket/1920 . It implements Eric's
> suggestion. Please review, I'll be happy to adapt it to any of your
> feedback.
>
I submitted a minor patch a while ago. It hasn't been reviewed
2011/8/1 Timo Kluck
> 2011/7/30 Eric Firing
>> Maybe the thing to do is to pre-calculate if len(xp) <= len(x), or some
>> such guess as to which method would be more efficient.
>>
> What you're suggesting is reasonable. The cutoff at len(xp) <= len(x) can
&g
2011/7/30 Eric Firing
> On 07/29/2011 11:18 AM, Timo Kluck wrote:
>
> The current implementation of numpy.interp(x,xp,fp) comes down to: first
> > calculating all the slopes of the linear interpolant (these are
> > len(xp)-1), then use a binary search to find where x is in
?
Cheers,
Timo Kluck
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion