mpoly_ctx_init
Synopsis
#include <flint/mpoly.h>void mpoly_ctx_init(mpoly_ctx_t ctx, slong nvars, const ordering_t ord)sourceInitialises 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).
@misc{flint-doc-mpoly-mpoly-ctx-init,
author = {{The FLINT team}},
title = {{mpoly\_ctx\_init (mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/mpoly/mpoly_ctx_init.html},
note = {Generated 2026-10-20}
}