Re: pylab, matplotlib ... roots function question

2007-01-22 Thread Schüle Daniel
Hi, [...] > No, that's actually wrong. What version of numpy are you using? With a recent > SVN checkout of numpy, I get the correct answer: > > In [3]: roots([1,0,0]) > Out[3]: array([ 0., 0.]) In [17]: import sys, numpy In [18]: sys.version Out[18]: '2.5 (r25:51908, Sep 23 2006, 01:23:14) \

Re: pylab, matplotlib ... roots function question

2007-01-21 Thread Robert Kern
Schüle Daniel wrote: > Hello NG, > > given this call to roots funtion from pylab It's actually from numpy and numpy questions are best asked (and best answered!) on numpy-discussion. http://www.scipy.org/Mailing_Lists > In [342]: roots([0,2,2]) > Out[342]: array([-1.]) > > as far as I unders