[Numpy-discussion] NaN (Not a Number) occurs in calculation of complex number for Bessel functions
Dag Sverre Seljebotn
d.s.seljebotn@astro.uio...
Fri Dec 21 07:40:27 CST 2012
On 12/21/2012 02:30 PM, Happyman wrote:
> I have everything in C or Fortran...According to my friends
> recommendations I started learning Python for my research...
>
> Do you mean the functions which gave Nan result has not been developed
> properly yet in Python, Don't you????
The way most of NumPy and SciPy works is by calling into C and Fortran code.
>
> For about 1.5 months I have been facing the same problem for Bessel
> functions.. I think the code that I showed like an example is not
> working in Python.
> What to do ???
Do you have an implemention of the Bessel functions that work as you
wish in C or Fortran? If so, that could be wrapped and called from Python.
Dag Sverre
More information about the NumPy-Discussion
mailing list