Re: [Numpy-discussion] polynomial fromroots

2010-10-10 Thread Fabrice Silva
Le dimanche 10 octobre 2010 à 14:19 -0400, josef.p...@gmail.com a > Good, this confirms the differences in convention z, or 1/z (and why I > never remember if the roots are supposed to be inside or outside the > unit circle) Some tricks: * in z-transform, 1-sample delay (in time domain) correspon

Re: [Numpy-discussion] polynomial fromroots

2010-10-10 Thread josef . pktd
On Sun, Oct 10, 2010 at 1:38 PM, Skipper Seabold wrote: > On Sat, Oct 9, 2010 at 10:36 PM,   wrote: >> On Sat, Oct 9, 2010 at 10:01 PM, Charles R Harris >> wrote: >>> >>> >>> On Sat, Oct 9, 2010 at 7:47 PM, wrote: I'm trying to see whether I can do this without reading the full manual.

Re: [Numpy-discussion] polynomial fromroots

2010-10-10 Thread Skipper Seabold
On Sat, Oct 9, 2010 at 10:36 PM, wrote: > On Sat, Oct 9, 2010 at 10:01 PM, Charles R Harris > wrote: >> >> >> On Sat, Oct 9, 2010 at 7:47 PM, wrote: >>> >>> I'm trying to see whether I can do this without reading the full manual. >>> >>> Is it intended that fromroots normalizes the highest orde

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread Charles R Harris
On Sat, Oct 9, 2010 at 9:01 PM, Charles R Harris wrote: > > > On Sat, Oct 9, 2010 at 8:36 PM, wrote: > >> On Sat, Oct 9, 2010 at 10:01 PM, Charles R Harris >> wrote: >> > >> > >> > On Sat, Oct 9, 2010 at 7:47 PM, wrote: >> >> >> >> I'm trying to see whether I can do this without reading the ful

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread Charles R Harris
On Sat, Oct 9, 2010 at 8:36 PM, wrote: > On Sat, Oct 9, 2010 at 10:01 PM, Charles R Harris > wrote: > > > > > > On Sat, Oct 9, 2010 at 7:47 PM, wrote: > >> > >> I'm trying to see whether I can do this without reading the full manual. > >> > >> Is it intended that fromroots normalizes the highes

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread josef . pktd
On Sat, Oct 9, 2010 at 10:01 PM, Charles R Harris wrote: > > > On Sat, Oct 9, 2010 at 7:47 PM, wrote: >> >> I'm trying to see whether I can do this without reading the full manual. >> >> Is it intended that fromroots normalizes the highest order term >> instead of the lowest? >> >> >> >>> import

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread Charles R Harris
On Sat, Oct 9, 2010 at 8:05 PM, Charles R Harris wrote: > > > On Sat, Oct 9, 2010 at 8:01 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> >> On Sat, Oct 9, 2010 at 7:47 PM, wrote: >> >>> I'm trying to see whether I can do this without reading the full manual. >>> >>> Is it inte

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread Charles R Harris
On Sat, Oct 9, 2010 at 8:01 PM, Charles R Harris wrote: > > > On Sat, Oct 9, 2010 at 7:47 PM, wrote: > >> I'm trying to see whether I can do this without reading the full manual. >> >> Is it intended that fromroots normalizes the highest order term >> instead of the lowest? >> >> >> >>> import nu

Re: [Numpy-discussion] polynomial fromroots

2010-10-09 Thread Charles R Harris
On Sat, Oct 9, 2010 at 7:47 PM, wrote: > I'm trying to see whether I can do this without reading the full manual. > > Is it intended that fromroots normalizes the highest order term > instead of the lowest? > > > >>> import numpy.polynomial as poly > > >>> p = poly.Polynomial([1, -1.88494037, 0.

[Numpy-discussion] polynomial fromroots

2010-10-09 Thread josef . pktd
I'm trying to see whether I can do this without reading the full manual. Is it intended that fromroots normalizes the highest order term instead of the lowest? >>> import numpy.polynomial as poly >>> p = poly.Polynomial([1, -1.88494037, 0.0178126 ]) >>> p Polynomial([ 1., -1.88494037,