FLINT3.7.0-dev

gr_mpoly_is_zero, gr_mpoly_is_one, gr_mpoly_is_gen, gr_mpoly_equal

Synopsis#include <flint/gr_mpoly.h>
truth_t gr_mpoly_is_zero(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)source
truth_t gr_mpoly_is_one(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)source
truth_t gr_mpoly_is_gen(const gr_mpoly_t A, slong var, gr_mpoly_ctx_t ctx)source
truth_t gr_mpoly_equal(const gr_mpoly_t A, const gr_mpoly_t B, gr_mpoly_ctx_t ctx)source

Return whether A is zero, one, the generator with index var, or equal to B, comparing terms and deciding coefficients in the coefficient ring.

Cite this page

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