Re: [Numpy-discussion] Unrealistic expectations of class Polynomial or a bug?

2012-01-28 Thread Charles R Harris
On Sat, Jan 28, 2012 at 11:15 AM, eat wrote: > Hi, > > Short demonstration of the issue: > In []: sys.version > Out[]: '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]' > In []: np.version.version > Out[]: '1.6.0' > > In []: from numpy.polynomial import Polynomial as Poly > In

[Numpy-discussion] Unrealistic expectations of class Polynomial or a bug?

2012-01-28 Thread eat
Hi, Short demonstration of the issue: In []: sys.version Out[]: '2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]' In []: np.version.version Out[]: '1.6.0' In []: from numpy.polynomial import Polynomial as Poly In []: def p_tst(c): ..: p= Poly(c) ..: r= p.roots()