FLINT3.7.0-dev

mpoly_is_gen

Synopsis#include <flint/mpoly.h>
int mpoly_is_gen(ulong * exps, slong var, flint_bitcnt_t bits, const mpoly_ctx_t mctx)source

Returns whether the packed monomial exps is the generator of index var, or, if var is negative, whether it is any generator.

Cite this page

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