[Numpy-discussion] vander() docstring

Charles R Harris charlesr.harris@gmail....
Thu Apr 10 22:57:42 CDT 2008


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

> On 09/04/2008, Andreas Klöckner <lists@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://projects.scipy.org/pipermail/numpy-discussion/attachments/20080410/002dbe08/attachment.html 


More information about the Numpy-discussion mailing list