SciPy

scipy.special.lpmv

scipy.special.lpmv(m, v, x) = <ufunc 'lpmv'>

Associated legendre function of integer order.

Parameters:

m : int

Order

v : real

Degree. Must be v>-m-1 or v<m

x : complex

Argument. Must be |x| <= 1.