[SciPy-user] Associated legendre functions

fred fredmfp@gmail....
Tue Oct 9 07:54:52 CDT 2007


Lars Friedrich a écrit :
> Hello,
>
> I would like to compute the values of associated lengendre functions. I 
> found scipy.special.lpmn which can be used for this purpose. However, it 
> is not possible to pass numpy-arrays for the function argument z. What 
> is the recommended way to deal with this? I could do a for loop, but I 
> guess this would be slow. Are there other implementations available?
>   
I got the same problem a few months ago.

I had to hardcode it in specfun.f.

If somebody else has another solution,
I'm interested.

Cheers,

-- 
http://scipy.org/FredericPetit



More information about the SciPy-user mailing list