scipy.special.sph_legendre_p_all#

scipy.special.sph_legendre_p_all(n, m, theta, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>[source]#

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

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