pylab, matplotlib ... roots function question

Schüle Daniel uval at rz.uni-karlsruhe.de
Mon Jan 22 04:45:34 CET 2007


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) \n[GCC 4.1.1]'

In [19]: numpy.version.version
Out[19]: '1.0rc1'


moon:/pool/PROG/python # uname -a
Linux moon 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 x86_64 
x86_64 x86_64 GNU/Linux

I think I will get and compile newer version of source

BTW, I also look for good (more or less complete and/or interessting)
tutoruals on signal processing with python
something like low/high-pass filtering/ploting of wave files etc
I would appreciate pointers very much.

I am learning this at the moment, when it all starts to make sense to
me, I will write such a tutorial on my own later

Regards, Daniel



More information about the Python-list mailing list