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

◆ operator==()

bool ModuleMonom::operator== ( const ModuleMonom & rhs) const
inline

Definition at line 165 of file Polynomial.hpp.

166 {
167 if (mValue[0] != rhs[0]) return false;
168 for (int i=2; i < mValue[0]; ++i)
169 if (mValue[i] != rhs[i]) return false;
170 return true;
171 }

References ModuleMonom(), and mValue.