Function sequant::expand

Function Documentation

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

Recursively expands products of sums

Parameters:

expr[inout] expression to be expanded

Returns:

expr to facilitate chaining