nmod_poly_factor_realloc
Synopsis
#include <flint/nmod_poly_factor.h>void nmod_poly_factor_realloc(nmod_poly_factor_t fac, slong alloc)sourceChanges the space of fac to exactly alloc factors. For alloc = 0 the factorisation is cleared and reinitialised (with space for 5 factors and \mathit{num} = 0). If alloc is smaller than the number of factors, the factors beyond the first alloc are discarded.
Cite this page
The FLINT team, “nmod_poly_factor_realloc (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_realloc.html (generated 2026-10-20).
@misc{flint-doc-nmod-poly-factor-nmod-poly-factor-realloc,
author = {{The FLINT team}},
title = {{nmod\_poly\_factor\_realloc (nmod\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_poly_factor/nmod_poly_factor_realloc.html},
note = {Generated 2026-10-20}
}