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)sourceInitialises 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).
@misc{flint-doc-nmod-mpoly-nmod-mpoly-ctx-init,
author = {{The FLINT team}},
title = {{nmod\_mpoly\_ctx\_init (nmod\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/nmod_mpoly/nmod_mpoly_ctx_init.html},
note = {Generated 2026-10-20}
}