FLINT3.7.0-dev

acb_hypgeom_spherical_y

Synopsis#include <flint/acb_hypgeom.h>
void acb_hypgeom_spherical_y(acb_t res, slong n, slong m, const acb_t theta, const acb_t phi, slong prec)source

Sets res to the spherical harmonic of degree n and order m at latitude angle \theta and longitude angle \phi, normalized so that

Y_n^m(\theta, \phi) = \sqrt{\frac{2n+1}{4\pi} \frac{(n-m)!}{(n+m)!}}\, e^{im\phi} P_n^m(\cos(\theta)).

The definition is extended to negative m and n by symmetry. The function is a polynomial in \cos\theta and \sin\theta and is evaluated with acb_hypgeom_legendre_p_uiui_rec.

Cite this page

The FLINT team, “acb_hypgeom_spherical_y (acb_hypgeom.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_hypgeom/acb_hypgeom_spherical_y.html (generated 2026-10-20).