bundles / scipy latest / scipy / special / _multiufuncs / sph_legendre_p
MultiUFunc
scipy.special._multiufuncs:sph_legendre_p
source: build-install/usr/lib/python3.14/site-packages/scipy/special/_multiufuncs.py
Signature
def sph_legendre_p(n, m, theta, *, diff_n = 0)Summary
Spherical Legendre polynomial of the first kind.
Parameters
n: array_like of intsDegree of the spherical Legendre polynomial. Must have
n >= 0.m: array_like of intsOrder of the spherical Legendre polynomial.
theta: array_likeInput value.
diff_n: int, optionalA non-negative integer. Compute and return all derivatives up to order
diff_n. Default is 0.
Returns
: ndarray or tuple of ndarraySpherical Legendre polynomial with
diff_nderivatives.
Notes
The spherical counterpart of an (unnormalized) associated Legendre polynomial has the additional factor
It is the same as the spherical harmonic with .
Aliases
scipy.special.sph_legendre_p