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

◆ operator==()

bool WordWithData::operator== ( WordWithData rhs)
inline

Definition at line 150 of file Word.hpp.

151 {
152 // Warning: == ignores heft degree, but not ecart degree
153 if (ecartDegree() != rhs.ecartDegree()) return false;
154 return word() == rhs.word();
155 }
Word word() const
Definition Word.hpp:143
int ecartDegree() const
Definition Word.hpp:145

References ecartDegree(), word(), and WordWithData().