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

◆ check_monomial()

bool MonomialInfo::check_monomial ( const_packed_monomial m) const
inline

Definition at line 355 of file moninfo.hpp.

356 {
357 // Determine if m represents a well-formed monomial.
358 m++;
359 for (int j = nslots - 1; j > 0; --j)
360 if (mask & (*m++)) return false;
361 return true;
362 }
monomial_word mask
Definition moninfo.hpp:112

References mask, and nslots.

Referenced by mult().