_nmod_mpoly_fit_length
Synopsis
#include <flint/nmod_mpoly.h>void _nmod_mpoly_fit_length(ulong ** coeffs, slong * coeffs_alloc, ulong ** exps, slong * exps_alloc, slong N, slong length)sourceEnsures that the coefficient array coeffs (with allocation coeffs_alloc) has room for length coefficients and the exponent array exps (with allocation exps_alloc) room for length exponent vectors of N words, growing them at least geometrically.
Cite this page
The FLINT team, “_nmod_mpoly_fit_length (nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/nmod_mpoly/_nmod_mpoly_fit_length.html (generated 2026-10-20).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-fit-length,
author = {{The FLINT team}},
title = {{\_nmod\_mpoly\_fit\_length (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/_nmod_mpoly_fit_length.html},
note = {Generated 2026-10-20}
}