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

◆ wordFromMonom()

void FreeMonoid::wordFromMonom ( Word & result,
const Monom & m ) const

Definition at line 287 of file FreeMonoid.cpp.

288{
289 // just call the prefix command on the word length of the monom
290 result.init(m.begin() + mNumWeights + 1, m.end());
291 //wordPrefixFromMonom(result,m,wordLength(m));
292}
const int mNumWeights
VALGRIND_MAKE_MEM_DEFINED & result(result)
const int * end() const
const int * begin() const

References Monom::begin(), Monom::end(), mNumWeights, and result().

Referenced by constructWordTable(), FreeAlgebra::heft_degree(), FreeAlgebra::lead_word(), NCF4::processPreRow(), and NCGroebner::twoSidedReduction().