acb_hypgeom_legendre_q
#include <flint/acb_hypgeom.h>void acb_hypgeom_legendre_q(acb_t res, const acb_t n, const acb_t m, const acb_t z, int type, slong prec)sourceSets res to the associated Legendre function of the second kind of degree n, order m and argument z; for m = 0 this is the Legendre function Q_n(z). If type is 0, the function is
and if type is 1,
Type 0 and type 1 correspond to type 2 and type 3 in Mathematica and mpmath; other values of type raise an exception.
For integer m either expression is interpreted as a limit. The connection formulas [WQ3a], [WQ3b] and [WQ3c] make it possible to compute the function also in the limiting case. (The formula [WQ3d] would be useful too, but it is incorrect in the lower half-plane.)
References#
- [WQ3a] The Wolfram Functions Site, formula 07.11.26.0033.01. http://functions.wolfram.com/07.11.26.0033.01
- [WQ3b] The Wolfram Functions Site, formula 07.12.27.0014.01. http://functions.wolfram.com/07.12.27.0014.01
- [WQ3c] The Wolfram Functions Site, formula 07.12.26.0003.01. http://functions.wolfram.com/07.12.26.0003.01
- [WQ3d] The Wolfram Functions Site, formula 07.12.26.0088.01. http://functions.wolfram.com/07.12.26.0088.01
The FLINT team, “acb_hypgeom_legendre_q (acb_hypgeom.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_hypgeom/acb_hypgeom_legendre_q.html (generated 2026-10-20).
@misc{flint-doc-acb-hypgeom-acb-hypgeom-legendre-q,
author = {{The FLINT team}},
title = {{acb\_hypgeom\_legendre\_q (acb\_hypgeom.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/acb_hypgeom/acb_hypgeom_legendre_q.html},
note = {Generated 2026-10-20}
}