This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / special / _multiufuncs / sph_legendre_p_all

MultiUFunc

scipy.special._multiufuncs:sph_legendre_p_all

source: build-install/usr/lib/python3.14/site-packages/scipy/special/_multiufuncs.py

Signature

def sph_legendre_p_all(n, m, theta, *, diff_n = 0)

Summary

All spherical Legendre polynomials of the first kind up to the specified degree n, order m, and all derivatives up to order diff_n.

Parameters

n : int

Degree of the spherical Legendre polynomials. Must have n >= 0.

m : int

Order of the spherical Legendre polynomials.

theta : array_like

Input value.

diff_n : int, optional

A non-negative integer. Compute and return all derivatives up to order diff_n. Default is 0.

Returns

: ndarray

Output shape is (diff_n + 1, n + 1, 2 * m + 1, ...). The entry at (i, j, k) corresponds to the i-th derivative, degree j, and order k for all 0 <= i <= diff_n, 0 <= j <= n, and -m <= k <= m.

See also

sph_legendre_p

Aliases

  • scipy.special.sph_legendre_p_all

Referenced by