FLINT3.7.0-dev

fq_poly_fit_length

Synopsis#include <flint/fq_poly.h>
void fq_poly_fit_length(fq_poly_t poly, slong len, const fq_ctx_t ctx)

Ensures that poly has space for at least len coefficients, growing the allocation to at least twice its old size if it must grow. The polynomial is not changed.

Cite this page

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