SyTen

◆ operator[]() [1/3]

template<typename T >
Ptr syten::BinaryTree::Tree< T >::operator[] ( std::array< Index, 2 > const &  coordinate) const
inline

Returns a pointer to the node specified by the two-index coordinate.

The first element of coordinate specifies the non-forking branch from left-to-right, the second element of coordinate specifies the offset within that branch from the first non-forking node.

References syten::BinaryTree::Tree< T >::first_nonfork(), syten::BinaryTree::Tree< T >::go_down(), and syten::BinaryTree::Tree< T >::leaf().

+ Here is the call graph for this function: