Function sequant::rapid_simplify(ExprPtr&)¶
Defined in File expr_algorithms.cpp
Function Documentation¶
-
ExprPtr &sequant::rapid_simplify(ExprPtr &expr)¶
Simplifies an Expr by applying cheap transformations (e.g. eliminating trivial math, flattening sums and products, etc.)
See also
- Parameters:
expr – [inout] expression to be simplified; may be replaced (i.e.
&exprmay be mutated by call)- Returns:
exprto facilitate chaining