FLINT3.7.0-dev

fmpq_mpoly_fit_length, fmpq_mpoly_fit_bits, fmpq_mpoly_realloc

Synopsis#include <flint/fmpq_mpoly.h>
void fmpq_mpoly_fit_length(fmpq_mpoly_t A, slong len, const fmpq_mpoly_ctx_t ctx)source
void fmpq_mpoly_fit_bits(fmpq_mpoly_t A, flint_bitcnt_t bits, const fmpq_mpoly_ctx_t ctx)source
void fmpq_mpoly_realloc(fmpq_mpoly_t A, slong alloc, const fmpq_mpoly_ctx_t ctx)source

Ensure room for len terms, ensure exponent fields of at least bits bits (repacking the terms), and reallocate the integer part to exactly alloc terms (its length must not exceed alloc).

Cite this page

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