FLINT3.7.0-dev

fmpz_mod_mpoly_fit_length, fmpz_mod_mpoly_fit_length_fit_bits, fmpz_mod_mpoly_fit_length_reset_bits

Synopsis#include <flint/fmpz_mod_mpoly.h>
void fmpz_mod_mpoly_fit_length(fmpz_mod_mpoly_t A, slong length, const fmpz_mod_mpoly_ctx_t ctx)source
void fmpz_mod_mpoly_fit_length_fit_bits(fmpz_mod_mpoly_t A, slong len, flint_bitcnt_t bits, const fmpz_mod_mpoly_ctx_t ctx)source
void fmpz_mod_mpoly_fit_length_reset_bits(fmpz_mod_mpoly_t A, slong len, flint_bitcnt_t bits, const fmpz_mod_mpoly_ctx_t ctx)source

Ensure space for length terms; the second also repacks the exponents to at least bits bits, the third sets the field width to bits and leaves the exponent data undefined.

Cite this page

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