FLINT3.7.0-dev

_fmpz_poly_legendre_pt, fmpz_poly_legendre_pt

Synopsis#include <flint/fmpz_poly.h>
void _fmpz_poly_legendre_pt(fmpz * coeffs, ulong n)source
void fmpz_poly_legendre_pt(fmpz_poly_t poly, ulong n)source

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