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)sourcetruth_t gr_mpoly_is_one(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)sourcetruth_t gr_mpoly_is_gen(const gr_mpoly_t A, slong var, gr_mpoly_ctx_t ctx)sourcetruth_t gr_mpoly_equal(const gr_mpoly_t A, const gr_mpoly_t B, gr_mpoly_ctx_t ctx)sourceReturn 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).
@misc{flint-doc-gr-mpoly-gr-mpoly-is-zero,
author = {{The FLINT team}},
title = {{gr\_mpoly\_is\_zero, gr\_mpoly\_is\_one, gr\_mpoly\_is\_gen, gr\_mpoly\_equal (gr\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_mpoly/gr_mpoly_is_zero.html},
note = {Generated 2026-10-20}
}