FLINT3.7.0-dev

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)source

Sets 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).