FLINT3.7.0-dev

gr_mpoly_is_canonical, gr_mpoly_assert_canonical

Synopsis#include <flint/gr_mpoly.h>
truth_t gr_mpoly_is_canonical(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)source
void gr_mpoly_assert_canonical(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)source

Check that A is in canonical form: terms strictly sorted, exponents fitting in the bit size, and no provably zero coefficients. gr_mpoly_assert_canonical aborts with an error message otherwise.

Cite this page

The FLINT team, “gr_mpoly_is_canonical, gr_mpoly_assert_canonical (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_canonical.html (generated 2026-10-20).