bundles / scipy 1.17.1 / scipy / special / _multiufuncs / sph_harm_y_all
MultiUFunc
scipy.special._multiufuncs:sph_harm_y_all
source: /scipy/special/_multiufuncs.py
Signature
def sph_harm_y_all(n, m, theta, phi, *, diff_n = 0)Summary
All spherical harmonics up to the specified degree n, order m, and all derivatives up to order diff_n.
Extended Summary
Returns a tuple of length diff_n + 1 (if diff_n > 0). The first entry corresponds to the spherical harmonics, the second entry (if diff_n >= 1) to the gradient, and the third entry (if diff_n >= 2) to the Hessian matrix. Each entry is an array of shape (n + 1, 2 * m + 1, ...), where the entry at (i, j) corresponds to degree i and order j for all 0 <= i <= n and -m <= j <= m.
See also
Aliases
scipy.special.sph_harm_y_all