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

◆ one()

void FreeMonoid::one ( MonomialInserter & m) const

Definition at line 48 of file FreeMonoid.cpp.

49{
50 m.push_back(mNumWeights+1);
51 for (int i=0; i<mNumWeights; ++i) m.push_back(0);
52}
const int mNumWeights

References mNumWeights.

Referenced by FreeAlgebra::from_coefficient().