Re: [Numpy-discussion] vander() docstring

2008-04-11 Thread Stéfan van der Walt
On 11/04/2008, Andreas Klöckner <[EMAIL PROTECTED]> wrote: > On Freitag 11 April 2008, Robert Kern wrote: > > On Thu, Apr 10, 2008 at 10:57 PM, Charles R Harris > > > > <[EMAIL PROTECTED]> wrote: > > > Turns out it matches the matlab definition. Maybe we just need another > > > function: vande

Re: [Numpy-discussion] vander() docstring

2008-04-11 Thread Andreas Klöckner
On Freitag 11 April 2008, Robert Kern wrote: > On Thu, Apr 10, 2008 at 10:57 PM, Charles R Harris > > <[EMAIL PROTECTED]> wrote: > > Turns out it matches the matlab definition. Maybe we just need another > > function: vandermonde > > -1 It's needless duplication. Agree. Let's just live with Matlab

Re: [Numpy-discussion] vander() docstring

2008-04-10 Thread Robert Kern
On Thu, Apr 10, 2008 at 10:57 PM, Charles R Harris <[EMAIL PROTECTED]> wrote: > Turns out it matches the matlab definition. Maybe we just need another > function: vandermonde -1 It's needless duplication. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enig

Re: [Numpy-discussion] vander() docstring

2008-04-10 Thread Charles R Harris
On Wed, Apr 9, 2008 at 11:07 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > On 09/04/2008, Andreas Klöckner <[EMAIL PROTECTED]> wrote: > > On Mittwoch 26 März 2008, Charles R Harris wrote: > > > The docstring is incorrect. The Vandermonde matrix produced is > compatible > > > with numpy po

Re: [Numpy-discussion] vander() docstring

2008-04-09 Thread Andreas Klöckner
Hi Chuck, all, On Mittwoch 09 April 2008, Charles R Harris wrote: > It would affect polyfit, where the powers correspond to the numpy > polynomial coefficients. That can be fixed, and as far as I can determine > that is the only numpy function that uses vander, but it might break some > software o

Re: [Numpy-discussion] vander() docstring

2008-04-09 Thread Alan Isaac
On Wed, 9 Apr 2008, Charles R Harris wrote: > It would affect polyfit, where the powers correspond to > the numpy polynomial coefficients. That can be fixed, and > as far as I can determine that is the only numpy function > that uses vander, but it might break some software out > there in the w

Re: [Numpy-discussion] vander() docstring

2008-04-09 Thread Charles R Harris
On Wed, Apr 9, 2008 at 11:07 AM, Stéfan van der Walt <[EMAIL PROTECTED]> wrote: > On 09/04/2008, Andreas Klöckner <[EMAIL PROTECTED]> wrote: > > On Mittwoch 26 März 2008, Charles R Harris wrote: > > > The docstring is incorrect. The Vandermonde matrix produced is > compatible > > > with numpy po

Re: [Numpy-discussion] vander() docstring

2008-04-09 Thread Stéfan van der Walt
On 09/04/2008, Andreas Klöckner <[EMAIL PROTECTED]> 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 rou

Re: [Numpy-discussion] vander() docstring

2008-04-09 Thread Andreas Klöckner
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. Patch attache

Re: [Numpy-discussion] vander() docstring

2008-03-26 Thread Charles R Harris
On Wed, Mar 26, 2008 at 5:22 PM, Andreas Klöckner <[EMAIL PROTECTED]> wrote: > Hi all, > > The docstring for vander() seems to contradict what the function does. In > particular, the columns in the vander() output seem reversed wrt its > docstring. I feel like one of the two needs to be fixed, or

[Numpy-discussion] vander() docstring

2008-03-26 Thread Andreas Klöckner
Hi all, The docstring for vander() seems to contradict what the function does. In particular, the columns in the vander() output seem reversed wrt its docstring. I feel like one of the two needs to be fixed, or is there something I'm not seeing? This here is fresh from the Numpy examples page: