|
Macaulay2 Engine
|
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 | |
| GBRing * | R |
| const FreeModule * | F |
Index comparator for sorting a MarkedGB's gb array by the lead-term ordering induced by the user-supplied marking.
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.