On Mon, Feb 6, 2012 at 2:34 PM, Charles R Harris
<charlesr.har...@gmail.com> wrote:
> Use Polynomial.fit, it tracks the domain for you. Want to use Legendre
> functions? Use Legendre.fit. Want to plot the result? plot(*p.linspace()),
> want to plot the derivative? plot(*p.deriv().linspace()). Want to convert a
> Legendre series to a Polynomial? p.convert(kind=Polynomial). So on and so
> forth. The fitting is also NA aware in the development branch.

That's really neat; thanks, Chuck.

Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to