Macaulay2 Engine
Loading...
Searching...
No Matches

◆ Compare()

template<typename MonomType>
bool BIBasis::Triple< MonomType >::Compare ( const Triple< MonomType > * tripleA,
const Triple< MonomType > * tripleB )
static

Definition at line 209 of file triple.hpp.

210 {
211 if (!tripleA || !tripleB)
212 {
213 throw std::string("BIBasis::Triple::Compare(): at least one argument is NULL.");
214 }
215 return *tripleA->Lm > *tripleB->Lm;
216 }
const MonomType * Lm
Definition triple.hpp:58

References Lm, and Triple().

Referenced by BIBasis::QSet< MonomType >::Insert(), BIBasis::QSet< MonomType >::Insert(), and BIBasis::QSet< MonomType >::QSet().