scipy.special.sph_harm_y_all#
- scipy.special.sph_harm_y_all(n, m, theta, phi, *, diff_n=0) = <scipy.special._multiufuncs.MultiUFunc object>[source]#
All spherical harmonics up to the specified degree
n, orderm, and all derivatives up to orderdiff_n.Returns a tuple of length
diff_n + 1(ifdiff_n > 0). The first entry corresponds to the spherical harmonics, the second entry (ifdiff_n >= 1) to the gradient, and the third entry (ifdiff_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 degreeiand orderjfor all0 <= i <= nand-m <= j <= m.See also