arb_fpwrap_double_legendre_root
Synopsis
#include <flint/arb_fpwrap.h>int arb_fpwrap_double_legendre_root(double * res1, double * res2, ulong n, ulong k, int flags)sourceSets res1 to the root of index k (with 0 \le k < n, in decreasing order) of the Legendre polynomial P_n and res2 to the corresponding Gauss–Legendre quadrature weight (arb_hypgeom_legendre_p_ui_root). Fails if k \ge n.
Cite this page
The FLINT team, “arb_fpwrap_double_legendre_root (arb_fpwrap.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb_fpwrap/arb_fpwrap_double_legendre_root.html (generated 2026-10-20).
@misc{flint-doc-arb-fpwrap-arb-fpwrap-double-legendre-root,
author = {{The FLINT team}},
title = {{arb\_fpwrap\_double\_legendre\_root (arb\_fpwrap.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb_fpwrap/arb_fpwrap_double_legendre_root.html},
note = {Generated 2026-10-20}
}