FLINT3.7.0-dev

fmpz_mod_mpoly_length, fmpz_mod_mpoly_resize

Synopsis#include <flint/fmpz_mod_mpoly.h>
slong fmpz_mod_mpoly_length(const fmpz_mod_mpoly_t A, const fmpz_mod_mpoly_ctx_t ctx)source
void fmpz_mod_mpoly_resize(fmpz_mod_mpoly_t A, slong new_length, const fmpz_mod_mpoly_ctx_t ctx)source

Return the number of terms, or change it to new_length, deleting terms at the end or appending zero terms.

Cite this page

The FLINT team, “fmpz_mod_mpoly_length, fmpz_mod_mpoly_resize (fmpz_mod_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_mpoly/fmpz_mod_mpoly_length.html (generated 2026-10-20).