_fmpz_poly_legendre_pt, fmpz_poly_legendre_pt
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_legendre_pt(fmpz_poly_t poly, ulong n)sourceSet poly to the shifted Legendre polynomial \tilde{P}_n(x) = P_n(2x - 1), which has integer coefficients, computed by a hypergeometric recurrence. The Legendre polynomials themselves are in fmpq_poly. The underscore version writes n + 1 coefficients.
Cite this page
The FLINT team, “_fmpz_poly_legendre_pt, fmpz_poly_legendre_pt (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/_fmpz_poly_legendre_pt.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-legendre-pt,
author = {{The FLINT team}},
title = {{\_fmpz\_poly\_legendre\_pt, fmpz\_poly\_legendre\_pt (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/_fmpz_poly_legendre_pt.html},
note = {Generated 2026-10-20}
}