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

◆ operator()()

template<class T>
bool MonomSort< T >::operator() ( int a,
int b ) const
inline

Definition at line 340 of file FreeMonoid.hpp.

341 {
342 // this function determines whether the monomial in position
343 // a of the container is less than than the monomial in position b
344 // of the container
345 int retval = mMonoid->compare((*mMonomContainer)[a], (*mMonomContainer)[b]);
346 return (retval == GT);
347 }
const FreeMonoid * mMonoid
const T * mMonomContainer

References GT, mMonoid, and mMonomContainer.