Function sequant::canonicalize(ResultExpr&)

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. &expr may be mutated by call)

Returns:

expr to facilitate chaining