FLINT3.7.0-dev

mpoly_ctx_init

Synopsis#include <flint/mpoly.h>
void mpoly_ctx_init(mpoly_ctx_t ctx, slong nvars, const ordering_t ord)source

Initialises ctx for nvars variables and the ordering ord. With nvars equal to zero the context describes constants; it then behaves like a degree ordering with one field that is always zero. An invalid ordering throws FLINT_ERROR.

Cite this page

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