[SciPy-user] scipy 0.4.9/numpy 0.9.8 & jn_zeros()

fred fredantispam at free.fr
Thu Jul 27 15:39:57 EDT 2006


fred a écrit :
> Hi all,
> 
> Since the new release, I get this error message :
> 
> Python 2.4.3 (#1, Jul 25 2006, 18:55:45)
> [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> 
>>>>from scipy.special.basic import jn_zeros
>>>>print jn_zeros(0,1)
> 
> Floating exception
> 
> What am I doing wrong ?
Nobody has any suggestion ?
:-(

PS :
In [3]: from scipy.special import *

In [4]: help(lpmn)

Help on function lpmn in module scipy.special.basic:

lpmn(m, n, z)
    Associated Legendre functions of the second kind, Pmn(z) and its
    derivative, Pmn'(z) of order m and degree n.  Returns two
    arrays of size (m+1,n+1) containing Pmn(z) and Pmn'(z) for
    all orders from 0..m and degrees from 0..n.

    z can be complex.

In [5]: help(lqmn)
Help on function lqmn in module scipy.special.basic:

lqmn(m, n, z)
    Associated Legendre functions of the second kind, Qmn(z) and its
    derivative, Qmn'(z) of order m and degree n.  Returns two
    arrays of size (m+1,n+1) containing Qmn(z) and Qmn'(z) for
    all orders from 0..m and degrees from 0..n.

    z can be complex.

lpmn should be associated Legendre functions of the first kind, no ?

Cheers,

-- 
Fred.



More information about the SciPy-User mailing list