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

◆ keysEqual()

bool ModuleMonomDefaultConfigOrig::keysEqual ( const ModuleMonom & e1,
const ModuleMonom & e2 ) const
inline

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

218 {
219 if (e1[0] != e2[0]) return false;
220 for (int i=2; i < e1[0]; ++i)
221 if (e1[i] != e2[i]) return false;
222 return true;
223 }

Referenced by operator()().