Re: [Numpy-discussion] Problem with roots and complex coefficients

2007-04-19 Thread lorenzo bolla
updated. now it works. many thanks. L. On 4/19/07, Nils Wagner <[EMAIL PROTECTED]> wrote: lorenzo bolla wrote: > dear all, > I've some problems with numpy.roots. > take a look at the following code: > > > import numpy > > OK = numpy.roots([1, 1, 1]) > OK

Re: [Numpy-discussion] Problem with roots and complex coefficients

2007-04-19 Thread Nils Wagner
lorenzo bolla wrote: > dear all, > I've some problems with numpy.roots. > take a look at the following code: > > > import numpy > > OK = numpy.roots([1, 1, 1]) > OK = numpy.roots([1j, 1]) > KO = numpy.roots([1, 1j, 1]) > =

[Numpy-discussion] Problem with roots and complex coefficients

2007-04-19 Thread lorenzo bolla
dear all, I've some problems with numpy.roots. take a look at the following code: import numpy OK = numpy.roots([1, 1, 1]) OK = numpy.roots([1j, 1]) KO = numpy.roots([1, 1j, 1]) it fails with this error message, t