FLINT3.7.0-dev

_gr_mpoly_set_length, gr_mpoly_length

Synopsis#include <flint/gr_mpoly.h>
void _gr_mpoly_set_length(gr_mpoly_t A, slong newlen, gr_mpoly_ctx_t ctx)source
slong gr_mpoly_length(const gr_mpoly_t x, gr_mpoly_ctx_t ctx)source

Set the number of terms of A (which must be allocated), without normalising, and return the number of terms.

Cite this page

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