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

◆ operator[]()

const Word SuffixTree::operator[] ( int index) const

Here begin the functions to make the new class swappable with the old WordTable.

Definition at line 649 of file SuffixTree.cpp.

650{
651 Word tmp(&*mMonomials[index].begin(),&*mMonomials[index].end());
652 return tmp;
653}
std::vector< Label > mMonomials
TermIterator< Nterm > begin(Nterm *ptr)
Definition ringelem.cpp:4
TermIterator< Nterm > end(Nterm *)
Definition ringelem.cpp:5

References begin(), end(), and mMonomials.