[Numpy-discussion] vander() docstring

Charles R Harris charlesr.harris at gmail.com
Thu Apr 10 23:57:42 EDT 2008


On Wed, Apr 9, 2008 at 11:07 AM, Stéfan van der Walt <stefan at sun.ac.za>
wrote:

> On 09/04/2008, Andreas Klöckner <lists at informa.tiker.net> wrote:
> > On Mittwoch 26 März 2008, Charles R Harris wrote:
> >  > The docstring is incorrect. The Vandermonde matrix produced is
> compatible
> >  > with numpy polynomials that also go from high to low powers. I would
> have
> >  > done it the other way round, so index matched power, but that isn't
> how it
> >  > is.
>
> I've never seen the vector powers that way around in literature.
> Shouldn't we fix it to correspond to the (vast) majority of
> publications?
>

Turns out it matches the matlab definition. Maybe we just need another
function: vandermonde

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080410/002dbe08/attachment.html>


More information about the NumPy-Discussion mailing list