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)sourcevoid gr_mpoly_assert_canonical(const gr_mpoly_t A, gr_mpoly_ctx_t ctx)sourceCheck 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).
@misc{flint-doc-gr-mpoly-gr-mpoly-is-canonical,
author = {{The FLINT team}},
title = {{gr\_mpoly\_is\_canonical, gr\_mpoly\_assert\_canonical (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_canonical.html},
note = {Generated 2026-10-20}
}