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

◆ monomialAt()

auto newf4::MonomialHashTable::monomialAt ( MonomialIndex m) const->MonomialView
inline

Simple function which returns the monomial data pointed to at index m. If m is out of range: throws an error.

Definition at line 186 of file MonomialHashTable.hpp.

187 {
188 return static_cast<const MonomialView>(
189 MonomialView {mMonomialPointers[m]});
190 }
std::vector< MonomialView > mMonomialPointers

References mMonomialPointers.

Referenced by newf4::toStream().