FLINT3.7.0-dev

_gr_mpoly_fit_length

Synopsis#include <flint/gr_mpoly.h>
void _gr_mpoly_fit_length(gr_ptr * coeffs, slong * coeffs_alloc, ulong ** exps, slong * exps_alloc, slong N, slong length, gr_ctx_t cctx)source

Grows the arrays *coeffs and *exps (with N words per exponent vector) to hold at least length terms, updating the allocation counters. Here cctx is the coefficient ring.

Cite this page

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