fmpz_mpoly_resize
Synopsis
#include <flint/fmpz_mpoly.h>void fmpz_mpoly_resize(fmpz_mpoly_t A, slong new_length, const fmpz_mpoly_ctx_t ctx)sourceSets the length of A to new_length: terms are removed from the end, or terms with zero coefficient and monomial 1 are appended (which makes the polynomial noncanonical until they are filled in).
Cite this page
The FLINT team, “fmpz_mpoly_resize (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_resize.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-resize,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_resize (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_resize.html},
note = {Generated 2026-10-20}
}