Macaulay2 Engine
Loading...
Searching...
No Matches
ModuleMonomLessThan Class Reference

Strict-weak-order comparator on ModuleMonom, used by IntsSet::sort to reorder the insertion-ordered mElements list. More...

#include <monomial-collection.hpp>

Public Member Functions

bool operator() (const ModuleMonom &a, const ModuleMonom &b) const

Detailed Description

Strict-weak-order comparator on ModuleMonom, used by IntsSet::sort to reorder the insertion-ordered mElements list.

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

Defers to ModuleMonom::compare and treats anything <= EQ as "less than", so equal monomials get a stable position from std::sort's tiebreaker rather than from this comparator.

Definition at line 151 of file monomial-collection.hpp.


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