Function sequant::simplify(ExprPtr&&)

Function Documentation

inline ExprPtr sequant::simplify(ExprPtr &&expr_rv)

Simplifies an Expr by a combination of expansion, canonicalization, and rapid_simplify; like mutating simplify() but works for temporary expressions

Parameters:

expr_rv[in] rvalue-ref-to-expression to be simplified

Returns:

simplified form of expr_rv