Macaulay2 Engine
Loading...
Searching...
No Matches
MonomialOrder Struct Reference

Internal compiled form of a monomial ordering, derived from a front-end MonomialOrdering by monomialOrderMake. More...

#include <imonorder.hpp>

Public Attributes

int nvars
int nslots
int nblocks
int nblocks_before_component
int nslots_before_component
int component_up
deg_tdegs
struct mo_blockblocks
intis_laurent

Detailed Description

Internal compiled form of a monomial ordering, derived from a front-end MonomialOrdering by monomialOrderMake.

Note
AI-generated documentation. Verify against the source before relying on it.

Holds the variable count (nvars), the encoded monomial word width (nslots), the ordered list of mo_blocks that make up the order, the per-variable heuristic degree vector (degs), and a is_laurent[i] flag per variable. component_up plus the *_before_component slot counts decide where the component slot sits in the encoded monomial. The companion encode / decode functions translate between actual exponent vectors and the packed monomial words the engine uses for fast comparisons.

Definition at line 74 of file imonorder.hpp.


The documentation for this struct was generated from the following file: