Added a transformation, which should get rid of sympy expressions.
Although expressions have args and function as a tree, args cannot be modified. So tree-transformations are not possible. Sympy has subs function, however it replaces all matched in any subexpression, of the expression (i.e. not only in args but in args args and so on).
Please register or sign in to comment