Skip to main content
`Ctrl`+`K`

# scipy.special.sph_harm_y_all

scipy.special.sph_harm_y_all(n, m, theta, phi, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>

  All spherical harmonics up to the specified degree `n`, order `m`, and all derivatives up to order `diff_n`.

  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

  `sph_harm_y`