FLINT3.7.0-dev

fq_zech_mpoly_fit_length, fq_zech_mpoly_fit_bits, fq_zech_mpoly_fit_length_reset_bits

Synopsis#include <flint/fq_zech_mpoly.h>
void fq_zech_mpoly_fit_length(fq_zech_mpoly_t A, slong length, const fq_zech_mpoly_ctx_t ctx)source
void fq_zech_mpoly_fit_bits(fq_zech_mpoly_t A, slong bits, const fq_zech_mpoly_ctx_t ctx)source
void fq_zech_mpoly_fit_length_reset_bits(fq_zech_mpoly_t A, slong len, flint_bitcnt_t bits, const fq_zech_mpoly_ctx_t ctx)source

Ensure space for length terms; ensure exponent fields of at least bits bits, repacking the exponents; ensure space for len terms with exactly bits bits, discarding the exponent data.

Cite this page

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