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)sourceEnsures 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).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-fit-length-reset-bits,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_fit\_length\_reset\_bits (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_fit_length_reset_bits.html},
note = {Generated 2026-10-20}
}