FLINT3.7.0-dev

fq_nmod_next, fq_nmod_next_not_zero

Synopsis#include <flint/fq_nmod_mpoly.h>
int fq_nmod_next(fq_nmod_t alpha, const fq_nmod_ctx_t fqctx)source
void fq_nmod_next_not_zero(fq_nmod_t alpha, const fq_nmod_ctx_t fqctx)source

Step alpha through the elements of \mathbb{F}_q in the lexicographic order of their coordinates: fq_nmod_next returns 0 when it wraps around to zero, fq_nmod_next_not_zero skips zero.

Cite this page

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