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 kk (with 0≤k<n0 \le k < n, in decreasing order) of the Legendre polynomial PnP_n and res2 to the corresponding Gauss–Legendre quadrature weight (arb_hypgeom_legendre_p_ui_root). Fails if k≥nk \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-11-02).