On Monday 02 April 2007 11:33, Eli Brosh wrote:
> from scipy import *
> >>>
> >>> x=.5
> >>> special.jv(0,x)
>
> 0.938469807241
>
> >>> y=.5+1.j
> >>> y
>
> (0.5+1j)
>
> >>> special.jv(0,y)
> >>> RESTART
> >>>
>
> The results are
Alan G wrote:
>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 variable into the call?
Well, the error message is not from Pytho but from the operating system
(windows XP).
It says "py
"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
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