FLINT3.7.0-dev

nmod_poly_factor_fit_length

Synopsis#include <flint/nmod_poly_factor.h>
void nmod_poly_factor_fit_length(nmod_poly_factor_t fac, slong len)source

Ensures that fac has space for at least len factors. If it has to grow, it grows to at least twice its previous allocation.

Cite this page

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