Template Function sequant::irreps_of(const FullBinaryNode<T>&, const Ctx&, OnNode&&)¶
Defined in File eval_tree.hpp
Function Documentation¶
-
template<typename T, IrrepPropagationContext Ctx, typename OnNode = detail::NoOpIrrepCallback>
Ctx::set_type sequant::irreps_of(const FullBinaryNode<T> &tree, const Ctx &ctx, OnNode &&on_node = {})¶ - Parameters:
tree – The (evaluation) tree to process
ctx – The IRREP context
on_node – Callback that is invoked as on_node(node, irreps) for every node in the tree in post-order
- Returns:
The IRREPs spanned by the result of the given tree