mpoly_gen_index
Synopsis
#include <flint/mpoly.h>slong mpoly_gen_index(slong v, const mpoly_ctx_t mctx)sourceReturns the index of the field that holds the exponent of the variable of index v: v for reversed orderings and nvars - 1 - v otherwise.
Cite this page
The FLINT team, “mpoly_gen_index (mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/mpoly/mpoly_gen_index.html (generated 2026-10-20).
@misc{flint-doc-mpoly-mpoly-gen-index,
author = {{The FLINT team}},
title = {{mpoly\_gen\_index (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_gen_index.html},
note = {Generated 2026-10-20}
}