bundles / scipy 1.17.1 / scipy / special / _multiufuncs / assoc_legendre_p
MultiUFunc
scipy.special._multiufuncs:assoc_legendre_p
source: /scipy/special/_multiufuncs.py
Signature
def assoc_legendre_p ( n , m , z , * , branch_cut = 2 , norm = False , diff_n = 0 ) Summary
Associated Legendre polynomial of the first kind.
Parameters
n: ArrayLike[int]Degree of the associated Legendre polynomial. Must have
n >= 0.m: ArrayLike[int]order of the associated Legendre polynomial.
z: ArrayLike[float | complex]Input value.
branch_cut: Optional[ArrayLike[int]]Selects branch cut. Must be 2 (default) or 3. 2: cut on the real axis
|z| > 13: cut on the real axis-1 < z < 1norm: Optional[bool]If
True, compute the normalized associated Legendre polynomial. Default isFalse.diff_n: Optional[int]A non-negative integer. Compute and return all derivatives up to order
diff_n. Default is 0.
Returns
p: ndarray or tuple[ndarray]Associated Legendre polynomial with
diff_nderivatives.
Notes
The normalized counterpart of an (unnormalized) associated Legendre polynomial has the additional factor
Aliases
-
scipy.special.assoc_legendre_p