FLINT3.7.0-dev

fq_nmod_poly_fit_length

Synopsis#include <flint/fq_nmod_poly.h>
void fq_nmod_poly_fit_length(fq_nmod_poly_t poly, slong len, const fq_nmod_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.

Generated from the same template as fq_poly_fit_length, whose documentation has the details.

Cite this page

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