bundles / scipy latest / scipy / special / _multiufuncs / assoc_legendre_p_all
MultiUFunc
scipy.special._multiufuncs:assoc_legendre_p_all
source: build-install/usr/lib/python3.14/site-packages/scipy/special/_multiufuncs.py
Signature
def assoc_legendre_p_all(n, m, z, *, branch_cut = 2, norm = False, diff_n = 0)Summary
All associated Legendre polynomials of the first kind up to the specified degree n, order m, and all derivatives up to order diff_n.
Parameters
n: intDegree of the associated Legendre polynomials. Must have
n >= 0.m: intOrder of the associated Legendre polynomials.
z: array_likeInput value.
branch_cut: array_like of ints, optionalSelects branch cut. Must be 2 (default) or 3. 2: cut on the real axis
|z| > 13: cut on the real axis-1 < z < 1norm: bool, optionalIf
True, compute the normalized associated Legendre polynomials. Default isFalse.diff_n: int, optionalA non-negative integer. Compute and return all derivatives up to order
diff_n. Default is 0.
Returns
: ndarrayOutput shape is
(diff_n + 1, n + 1, 2 * m + 1, ...). The entry at(i, j, k)corresponds to thei-th derivative, degreej, and orderkfor all0 <= i <= diff_n,0 <= j <= n, and-m <= k <= m.
See also
Aliases
scipy.special.assoc_legendre_p_all