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

Index comparator for sorting a MarkedGB's gb array by the lead-term ordering induced by the user-supplied marking. More...

Public Member Functions

const VECTOR (POLY) &gb
 MarkedGB_sorter (GBRing *R0, const FreeModule *F0, const VECTOR(POLY) &gb0)
bool operator() (int xx, int yy)

Public Attributes

GBRingR
const FreeModuleF

Detailed Description

Index comparator for sorting a MarkedGB's gb array by the lead-term ordering induced by the user-supplied marking.

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

Same shape as ReducedGB_Field_sorter: captures references to GBRing, FreeModule, and gb, and operator()(a, b) dispatches to the lead-term comparator. Used in the marked-GB code path where the leading monomials of the basis elements are pinned by the caller rather than chosen by the monomial order.

Definition at line 36 of file reducedgb-marked.cpp.


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