[SciPy-user] Polynomial interpolation

Stéfan van der Walt stefan@sun.ac...
Mon Apr 28 19:24:13 CDT 2008


2008/4/28 Robert Kern <robert.kern@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