Is there any way to get the expression tree from an expression (either
using the python abstract syntax tree module or just some tuples):

for example

get_tree( x+y*sin(z) ) would return

(Add, x, (Mul, y, (Sin z)))

or

(BinOp, Add, ((Symbol, x), (BinOp, Mul, (blah blah blah))))

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to