FLINT3.7.0-dev

mpoly_gen_index

Synopsis#include <flint/mpoly.h>
slong mpoly_gen_index(slong v, const mpoly_ctx_t mctx)source

Returns 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).