fq_nmod_mpoly_fit_length, fq_nmod_mpoly_realloc, fq_nmod_mpoly_fit_length_fit_bits, fq_nmod_mpoly_fit_length_reset_bits
Synopsis
#include <flint/fq_nmod_mpoly.h>void fq_nmod_mpoly_fit_length(fq_nmod_mpoly_t A, slong length, const fq_nmod_mpoly_ctx_t ctx)sourcevoid fq_nmod_mpoly_realloc(fq_nmod_mpoly_t A, slong alloc, const fq_nmod_mpoly_ctx_t ctx)sourcevoid fq_nmod_mpoly_fit_length_fit_bits(fq_nmod_mpoly_t A, slong len, flint_bitcnt_t bits, const fq_nmod_mpoly_ctx_t ctx)sourcevoid fq_nmod_mpoly_fit_length_reset_bits(fq_nmod_mpoly_t A, slong len, flint_bitcnt_t bits, const fq_nmod_mpoly_ctx_t ctx)sourceEnsure space for length terms, change the allocation to alloc terms (not less than the length), and ensure space with exponent fields of at least (fit_bits, repacking) or exactly (reset_bits, discarding the exponent data) bits bits.
Cite this page
The FLINT team, “fq_nmod_mpoly_fit_length, fq_nmod_mpoly_realloc, fq_nmod_mpoly_fit_length_fit_bits, fq_nmod_mpoly_fit_length_reset_bits (fq_nmod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod_mpoly/fq_nmod_mpoly_fit_length.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-mpoly-fq-nmod-mpoly-fit-length,
author = {{The FLINT team}},
title = {{fq\_nmod\_mpoly\_fit\_length, fq\_nmod\_mpoly\_realloc, fq\_nmod\_mpoly\_fit\_length\_fit\_bits, fq\_nmod\_mpoly\_fit\_length\_reset\_bits (fq\_nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod_mpoly/fq_nmod_mpoly_fit_length.html},
note = {Generated 2026-10-20}
}