FLINT3.7.0-dev

fmpz_mpoly_fit_length_reset_bits

Synopsis#include <flint/fmpz_mpoly.h>
void fmpz_mpoly_fit_length_reset_bits(fmpz_mpoly_t A, slong len, flint_bitcnt_t bits, const fmpz_mpoly_ctx_t ctx)source

Ensures room for len terms with exponents packed into bits bits and sets A->bits to bits. The value of A is destroyed (its monomials are not repacked); the caller writes new terms and sets the length.

Cite this page

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