[SciPy-user] scipy.special.kv

Alastair Basden a.g.basden@durham.ac...
Mon Feb 18 03:59:14 CST 2008


Hi,
I have just installed scipy on a x86_64 machine (version 0.6.0) and am 
having problems with scipy.special:

>>> import numpy,scipy.special
>>> scipy.special.kv(11./6,numpy.ones((10,),numpy.float64))
array([ 1.32606705,  1.32606705,  1.32606705,  1.32606705,  1.32606705,
         1.32606705,  1.32606705,  1.32606705,  1.32606705,  1.32606705])
>>> scipy.special.kv(11./6,numpy.ones((10,),numpy.float64))
array([  1.25795758e+177,   1.25795758e+177,   1.25795758e+177,
          1.25795758e+177,   1.25795758e+177,   1.25795758e+177,
          1.25795758e+177,   1.25795758e+177,   1.25795758e+177,
          1.25795758e+177])

Can anyone tell me why the results are different each time?  (the first 
set are almost in agreement with other installations, but the second set, 
which should be the same, are well out).

numpy version is 1.0.4 (ie latest).

Thanks...


More information about the SciPy-user mailing list