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

Index comparator used to permute ReducedGB_Field_Local's gb array into canonical reduced-GB order for the local-ring path. More...

Public Member Functions

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

Public Attributes

GBRingR
const FreeModuleF
std::vector< intdegs

Detailed Description

Index comparator used to permute ReducedGB_Field_Local's gb array into canonical reduced-GB order for the local-ring path.

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

Same shape as ReducedGB_Field_sorter but with an extra degs vector — the local-ring code compares first by heuristic degree (so smaller-degree reducers come earlier) and only breaks ties with the lead-term comparison. Plugged into std::sort on an indices vector.

Definition at line 53 of file reducedgb-field-local.cpp.


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