|
template<typename T > |
Index | syten::T3N::Tree::distance (Tree< T > const &t, Position const &pos1, Position const &pos2) |
| Returns the number of physical nodes between the two coordinates. More...
|
|
LegType | syten::T3N::Tree::getComplementaryDirection (LegType direction, LegType root=LegType::A) |
| Useful shortcut for the complementary direction during DMRG calculations. More...
|
|
Index | syten::T3N::Tree::getLeg (LegType l) |
| For Tensor operations. More...
|
|
LegType | syten::T3N::Tree::getNotDir (LegType direction) |
| Gives the other leg of a Branching Node. More...
|
|
Position | syten::T3N::Tree::lastCommonAncestor (Position const &one, Position const &two) |
| Returns the last common ancestor and the number of shared nodes. More...
|
|
template<typename T > |
std::ostream & | syten::T3N::Tree::operator<< (std::ostream &out, Node< T > const &node) |
| Output for nodes. More...
|
|
std::ostream & | syten::T3N::Tree::operator<< (std::ostream &out, NodeType const &n) |
| Output for a NodeType. More...
|
|
template<typename T > |
std::ostream & | syten::T3N::Tree::operator<< (std::ostream &out, Tree< T > const &tree) |
| Output for trees. More...
|
|
Vec< LegType > | syten::T3N::Tree::path (Position const &from, Position const &to) |
| Returns the path going from the first position to the second. More...
|
|
template<typename NewType , typename OtherType , typename ... Args> |
auto | syten::T3N::Tree::reconstruct (Tree< OtherType > const &other, Args... args) |
| Constructs a tree with the same structure as other and calls the desired constructor. More...
|
|
template<typename NewType , typename OtherType , typename ... Args> |
void | syten::T3N::Tree::reconstruct_rec (typename Tree< NewType >::Ptrc n, typename Tree< OtherType >::cPtrc o, Args... args) |
| Recursive helper function. More...
|
|
Implementation of a T3N tree.