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

◆ is_one()

bool FreeMonoid::is_one ( const Monom & m) const

Definition at line 62 of file FreeMonoid.cpp.

63{
64 return m[0] == mNumWeights+1;
65}
const int mNumWeights

References mNumWeights.

Referenced by FreeAlgebra::elem_text_out(), and FreeAlgebra::is_unit().