Struct expand_visitor

Struct Documentation

struct expand_visitor

Public Functions

inline void operator()(ExprPtr &expr)
inline bool expand_product(ExprPtr &expr)

expands the first Sum in a Product

Parameters:

expr[inout] (shared_ptr to ) a Product whose first Sum gets expanded; on return expr contains the result

inline bool expand_sum(ExprPtr &expr)

expands a Sum

inline bool expand(ExprPtr &expr)