FLINT3.7.0-dev

_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)source

Ensures 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).