[SciPy-user] Polynomial interpolation

Stéfan van der Walt stefan at sun.ac.za
Mon Apr 28 20:24:13 EDT 2008


2008/4/28 Robert Kern <robert.kern at gmail.com>:
>  Well those certainly aren't useful. The only functions I would
>  consider adding would be "one-shot" functions, e.g.:
>
>   def krogh(xi, yi, x):
>       return KroghInterpolator(xi,yi)(x)

I agree.  But I also think Anne's original interface was simple enough
as well as intuitive, and that we should stick to it.  A good
docstring should comfortably bridge the gap for users not too familiar
with objects.

Regards
Stéfan



More information about the SciPy-User mailing list