FLINT3.7.0-dev

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)source

Sets 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).