Re: [Tutor] A bug or a feature - complex arguments in special functions

2007-04-01 Thread Alan Gauld
"Eli Brosh" <[EMAIL PROTECTED]> wrote >> from scipy import * >> special.jv(0,1+1j) > > I got an error message and python restarted. It would be good if you could include the error text. However, did you try putting the complex number in parens? or assigning to a variable and then pass the var

[Tutor] A bug or a feature - complex arguments in special functions

2007-04-01 Thread Eli Brosh
Hello I am trying to convert from MATLAB to Python. I am using Python 2.4.3 for Windows (Enthought Edition) In one of the first programs, I tried to use the special functions from the SciPy "special" module. However, when I tryed: >> from scipy import * >> special.jv(0,1+1j) I got an error me