fq_nmod_cmp
Synopsis
#include <flint/fq_nmod.h>int fq_nmod_cmp(const fq_nmod_t a, const fq_nmod_t b, const fq_nmod_ctx_t ctx)sourceCompares the representatives of a and b and returns -1, 0 or 1: a shorter representative is smaller, and representatives of the same length are compared coefficientwise from the constant term up. This is a total order for sorting, unrelated to the field structure.
Cite this page
The FLINT team, “fq_nmod_cmp (fq_nmod.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_nmod/fq_nmod_cmp.html (generated 2026-10-20).
@misc{flint-doc-fq-nmod-fq-nmod-cmp,
author = {{The FLINT team}},
title = {{fq\_nmod\_cmp (fq\_nmod.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_nmod/fq_nmod_cmp.html},
note = {Generated 2026-10-20}
}