Template Function sequant::collect_tensor_factors

Function Documentation

template<typename Rng>
void sequant::collect_tensor_factors(EvalExprNode const &node, Rng &collect)

Collect tensors appearing as a factor at the leaf node of a product sub-tree, or, at the root node of a sum sub-tree.