fmpq_poly_fit_length
Synopsis
#include <flint/fmpq_poly.h>void fmpq_poly_fit_length(fmpq_poly_t poly, slong len)sourceIf len is greater than the number of coefficients currently allocated, then the polynomial is reallocated to have space for at least len coefficients, at least doubling the allocation so that many calls in small increments are efficient. No data is lost.
Cite this page
The FLINT team, “fmpq_poly_fit_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_fit_length.html (generated 2026-10-20).
@misc{flint-doc-fmpq-poly-fmpq-poly-fit-length,
author = {{The FLINT team}},
title = {{fmpq\_poly\_fit\_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_fit_length.html},
note = {Generated 2026-10-20}
}