fmpz_mod_poly_factor_fit_length
Synopsis
#include <flint/fmpz_mod_poly_factor.h>void fmpz_mod_poly_factor_fit_length(fmpz_mod_poly_factor_t fac, slong len, const fmpz_mod_ctx_t ctx)sourceEnsures 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, “fmpz_mod_poly_factor_fit_length (fmpz_mod_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly_factor/fmpz_mod_poly_factor_fit_length.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-poly-factor-fmpz-mod-poly-factor-fit-length,
author = {{The FLINT team}},
title = {{fmpz\_mod\_poly\_factor\_fit\_length (fmpz\_mod\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly_factor/fmpz_mod_poly_factor_fit_length.html},
note = {Generated 2026-10-20}
}