FLINT3.7.0-dev

nmod_mpoly_factor_realloc, nmod_mpoly_factor_fit_length

Synopsis#include <flint/nmod_mpoly_factor.h>
void nmod_mpoly_factor_realloc(nmod_mpoly_factor_t f, slong alloc, const nmod_mpoly_ctx_t ctx)source
void nmod_mpoly_factor_fit_length(nmod_mpoly_factor_t f, slong len, const nmod_mpoly_ctx_t ctx)source

Change the allocation of f to alloc factors (truncating the product if it is longer), or ensure space for at least len factors.

Cite this page

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