Template Function sequant::evaluate(NodeT const&, Le&&, Args&&…)¶
Defined in File eval.hpp
Function Documentation¶
-
template<typename NodeT, typename Le, typename ...Args, std::enable_if_t<IsLeafEvaluator<NodeT, Le>, bool> = true>
auto sequant::evaluate(NodeT const &node, Le &&le, Args&&... args)¶ See also
EvalResult to know more about the return type.
- Parameters:
node – An EvalNode to be evaluated.
le – A leaf evaluator that takes an EvalNode and returns a tensor (TA::TArrayD, btas::Tensor<double>, etc.) or a constant (double, complex<double>, etc.).
args – Optional CacheManager object passed by reference.
- Returns:
ERPtr to the resulting EvalResult.