fmpz_mod_poly_factor_realloc
Synopsis
#include <flint/fmpz_mod_poly_factor.h>void fmpz_mod_poly_factor_realloc(fmpz_mod_poly_factor_t fac, slong alloc, const fmpz_mod_ctx_t ctx)sourceChanges the space of fac to exactly alloc factors. For alloc = 0 the factorisation is cleared and reinitialised as empty. If alloc is smaller than the number of factors, the factors beyond the first alloc are discarded.
Cite this page
The FLINT team, “fmpz_mod_poly_factor_realloc (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_realloc.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-poly-factor-fmpz-mod-poly-factor-realloc,
author = {{The FLINT team}},
title = {{fmpz\_mod\_poly\_factor\_realloc (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_realloc.html},
note = {Generated 2026-10-20}
}