[SciPy-user] Possible bug with Hermite polynomials

Steffen Loeck steffen.loeck at gmx.de
Tue Jun 13 01:57:11 CDT 2006


Hello,

there seems to be a problem using elements of an array as first argument in 
the Hermite functions:


>> import scipy
>> scipy.__version__
'0.5.0.1941'

>> a = scipy.arange(10)

>> import scipy.special

>> scipy.special.hermite(1)(2.0)
4.0

>> scipy.special.hermite(a[1])(2.0)
0.0

The result using the element of array 'a' is 0.0, while 4.0 is correct. 
Is there any way to fix this problem?

Regards,
Steffen



More information about the SciPy-user mailing list