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

◆ next()

template<typename Key>
F4MonomialLookupTableT< Key >::mi_node * F4MonomialLookupTableT< Key >::next ( mi_node * p) const
private

Definition at line 352 of file f4-monlookup.cpp.

353{
354 while (p != nullptr)
355 {
356 p = p->left;
357 if (p->tag == mi_node::leaf)
358 return p;
359 else
360 p = p->down();
361 }
362 return nullptr;
363}

References F4MonomialLookupTableT< Key >::mi_node::leaf, and p.

Referenced by text_out().