FLINT3.7.0-dev

mpoly_ctx_struct, mpoly_ctx_t

Synopsis#include <flint/mpoly.h>
mpoly_ctx_struct
mpoly_ctx_t

The monomial part of a polynomial ring context. The fields are nvars (the number of variables), nfields (the number of fields of a packed monomial: nvars, plus one for degree orderings), ord, the flags deg (the ordering compares total degrees first) and rev (the variables are stored in reverse order and compared with reversed sign), and two lookup tables indexed by bits - 1 for 1 \le \mathit{bits} \le FLINT_BITS: lut_words_per_exp and lut_fix_bits. The contexts of the polynomial modules, such as fmpz_mpoly_ctx_t, contain an mpoly_ctx_t called minfo.

Cite this page

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