FLINT3.7.0-dev

nmod_mpoly_ctx_nvars, nmod_mpoly_ctx_ord, nmod_mpoly_ctx_modulus

Synopsis#include <flint/nmod_mpoly.h>
slong nmod_mpoly_ctx_nvars(const nmod_mpoly_ctx_t ctx)source
ordering_t nmod_mpoly_ctx_ord(const nmod_mpoly_ctx_t ctx)source
ulong nmod_mpoly_ctx_modulus(const nmod_mpoly_ctx_t ctx)source

Return the number of variables, the monomial ordering and the modulus of ctx.

Cite this page

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