fmpz_mpoly_fit_length
Synopsis
#include <flint/fmpz_mpoly.h>void fmpz_mpoly_fit_length(fmpz_mpoly_t A, slong len, const fmpz_mpoly_ctx_t ctx)sourceEnsures that A has room for at least len terms, at least doubling the allocation when it grows, so that appending terms one by one costs amortised constant time per term.
Cite this page
The FLINT team, “fmpz_mpoly_fit_length (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.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-fit-length,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_fit\_length (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.html},
note = {Generated 2026-10-20}
}