Struct FlopsWithSymm¶
Defined in File eval_node.hpp
Struct Documentation¶
-
struct FlopsWithSymm¶
This function object takes an evaluation node and returns the symbolic cost of flops required for evaluation as an AsyCost object.
See also
AsyCost. If the cost can be reduced due to symmetry, it is done so.
Note
The cost of evaluation of leaf nodes is assumed to be zero.
Public Functions
-
template<typename NodeT, typename = std::enable_if_t<IsEvalNode<NodeT>>>
inline AsyCost operator()(NodeT const &n) const¶
-
template<typename NodeT, typename = std::enable_if_t<IsEvalNode<NodeT>>>