Using Bessel Functions

2007-05-03 Thread amit soni

Hi,

I want to use Bessel functions in Python. I found on internet that package
Scipy has a function jn(x), but I'm not able to use it. I am importing scipy
and numpy for using it. But i'm getting an error NameError: name 'j1' is
not defined. Can anyone tell me what is the exact syntax for to use it.

Thank you,
Amit
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Using Bessel Functions

2007-05-03 Thread Dave
amit soni amitsoni.605 at gmail.com writes:

 Can anyone tell me what is the exact syntax for to use it.
 Thank you,Amit
 

For example evaluating j1 @ 0

from scipy import special

print special.j1(0)

HTH,
Dave



-- 
http://mail.python.org/mailman/listinfo/python-list