tuple_print, tuple_next, tuple_saturate
Synopsis
#include <flint/fmpz_mpoly_factor.h>Helpers for enumerating evaluation points in \mathbb{N}^n: print a tuple, step to the next tuple (all tuples with a given sum are visited before the sum increases), and move the entries after index m into entry m (making it 1 if the first m + 1 entries would all be zero) so that one of the first m + 1 entries changes at the next step.
Cite this page
The FLINT team, “tuple_print, tuple_next, tuple_saturate (fmpz_mpoly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly_factor/tuple_print.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-factor-tuple-print,
author = {{The FLINT team}},
title = {{tuple\_print, tuple\_next, tuple\_saturate (fmpz\_mpoly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly_factor/tuple_print.html},
note = {Generated 2026-10-20}
}