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)sourcevoid fmpq_mpoly_fit_bits(fmpq_mpoly_t A, flint_bitcnt_t bits, const fmpq_mpoly_ctx_t ctx)sourcevoid fmpq_mpoly_realloc(fmpq_mpoly_t A, slong alloc, const fmpq_mpoly_ctx_t ctx)sourceEnsure 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).
@misc{flint-doc-fmpq-mpoly-fmpq-mpoly-fit-length,
author = {{The FLINT team}},
title = {{fmpq\_mpoly\_fit\_length, fmpq\_mpoly\_fit\_bits, fmpq\_mpoly\_realloc (fmpq\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mpoly/fmpq_mpoly_fit_length.html},
note = {Generated 2026-10-20}
}