fmpz_mpoly_realloc
Synopsis
#include <flint/fmpz_mpoly.h>void fmpz_mpoly_realloc(fmpz_mpoly_t A, slong alloc, const fmpz_mpoly_ctx_t ctx)sourceChanges the allocation of A to alloc terms. Terms beyond alloc are discarded, which can leave a polynomial that is not the truncation of interest but is still canonical. With alloc equal to zero, A is freed and reinitialised.
Cite this page
The FLINT team, “fmpz_mpoly_realloc (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_realloc.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-realloc,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_realloc (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_realloc.html},
note = {Generated 2026-10-20}
}