_fmpq_poly_set_length
Synopsis
#include <flint/fmpq_poly.h>void _fmpq_poly_set_length(fmpq_poly_t poly, slong len)sourceSets the length of the numerator polynomial to len, demoting coefficients beyond the new length. Note that this method does not guarantee that the rational polynomial is in canonical form.
Cite this page
The FLINT team, “_fmpq_poly_set_length (fmpq_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_poly/_fmpq_poly_set_length.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-set-length,
author = {{The FLINT team}},
title = {{\_fmpq\_poly\_set\_length (fmpq\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_poly/_fmpq_poly_set_length.html},
note = {Generated 2026-10-20}
}