FLINT3.7.0-dev

nmod_mpoly_cmp

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_cmp(const nmod_mpoly_t A, const nmod_mpoly_t B, const nmod_mpoly_ctx_t ctx)source

Returns 1, -1 or 0 according as A is greater than, less than or equal to B in some total order on polynomials that is fixed for the context. For monomials it agrees with the monomial ordering of the context.

Cite this page

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