Function sequant::simplify(ExprPtr&)

Function Documentation

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

Simplifies an Expr by a combination of expansion, canonicalization, and rapid_simplify

See also

rapid_simplify()

Parameters:

expr[inout] expression to be simplified; may be replaced (i.e. &expr may be mutated by call)

Returns:

expr to facilitate chaining