FLINT3.7.0-dev

nmod_mpoly_sort_terms

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_sort_terms(nmod_mpoly_t A, const nmod_mpoly_ctx_t ctx)source

Sorts the terms of A into the order of the context, without combining equal monomials or removing zero coefficients, by a radix sort in time linear in the size of A.

Guides#

Cite this page

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