FLINT3.7.0-dev

fmpq_poly_truncate

Synopsis#include <flint/fmpq_poly.h>
void fmpq_poly_truncate(fmpq_poly_t poly, slong n)source

Truncates poly to length n (if it is longer) and brings the result into canonical form.

Cite this page

The FLINT team, “fmpq_poly_truncate (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/fmpq_poly_truncate.html (generated 2026-10-20).