Template Function sequant::detail::fold_irreps

Function Documentation

template<typename Node, IrrepPropagationContext Ctx, typename OnNode>
Ctx::set_type sequant::detail::fold_irreps(const Node &node, const Ctx &ctx, OnNode &on_node)

Generic bottom-up computation of the IRREPs of the given node

Parameters:

on_node – Callback that is invoked as on_node(node, irreps) for every visited node (post-order)