[SciPy-user] Polynomial interpolation

Ed Rahn ed at lamedomain.net
Mon Apr 28 11:49:06 EDT 2008


Gael Varoquaux wrote:
> On Sun, Apr 20, 2008 at 09:03:05PM -0400, Anne Archibald wrote:
>> Reasonable, though really, is krogh_interpolate(xi, yi, x) much better
>> than KroghInterpolator(xi, yi)(x)?
> 
> Yes. Some people don't understand functional/object code. We need to keep
> scipy accesssible for them.
> 

It's silly not to use core features of the target language because some 
people may not have yet learned them.

>> It's also good to emphasize that
>> the construction of the interpolating polynomial is a relatively slow
>> process compared to its evaluation.

This is a perfect reason to use an object.


- Ed



More information about the SciPy-User mailing list