Function sequant::canonicalize(ResultExpr&)¶
Defined in File expr_algorithms.cpp
Function Documentation¶
-
ResultExpr &sequant::canonicalize(ResultExpr &expr)¶
Recursively canonicalizes an Expr and replaces it as needed
Note
the canonicalization options are those of the default context
- Parameters:
expr – [inout] expression to be canonicalized; may be replaced (i.e.
&exprmay be mutated by call)- Returns:
exprto facilitate chaining