Re: [Numpy-discussion] Structure of polynomial module

2012-02-07 Thread Stéfan van der Walt
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

Re: [Numpy-discussion] Structure of polynomial module

2012-02-06 Thread Charles R Harris
2012/2/6 Stéfan van der Walt ste...@sun.ac.za Hi all, I noticed the following docstring on ``np.polynomial.polyval``: In [116]: np.polynomial.polyval? File: /home/stefan/src/numpy/numpy/lib/utils.py Definition: np.polynomial.polyval(*args, **kwds) Docstring: `polyval` is