Template Class SubexpressionIdentifier

Class Documentation

template<typename TreeNode, bool force_hash_collisions = false>
class SubexpressionIdentifier

Functor that can be used to identify common subexpressions while iterating expression trees

Public Functions

SubexpressionIdentifier() = default
inline SubexpressionIdentifier(std::vector<Index> indices)
inline bool operator()(const TreeNode &tree)
inline SubexpressionUsageCounts<TreeNode, force_hash_collisions> take_subexpression_map()