FLINT3.7.0-dev

nmod_mpoly_ctx_init

Synopsis#include <flint/nmod_mpoly.h>
void nmod_mpoly_ctx_init(nmod_mpoly_ctx_t ctx, slong nvars, const ordering_t ord, ulong modulus)source

Initialises ctx for polynomials in nvars variables with the monomial ordering ord, one of ORD_LEX, ORD_DEGLEX and ORD_DEGREVLEX (see mpoly.h), and coefficients modulo n = modulus. The modulus must be at least 1.

Guides#

Cite this page

The FLINT team, “nmod_mpoly_ctx_init (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_init.html (generated 2026-10-20).