expand symbolic expression
e: Expand( s )
symbolic expression
Returns the rewritten expression s, such that products and powers are expanded.
// create symbolic expression s = %(Sym("(x+y)*(x-y)^10")) // expand expression Expand(s) // clean up reset(); clear s;
SymEngine: C++ library for fast symbolic manipulation.