Comment #4 on issue 2007 by smichr: (exp(exp(x))).atoms(exp)
http://code.google.com/p/sympy/issues/detail?id=2007

You can think of the argument to atoms as defining the atoms.

var('xyz')
(x, y, z)
x+y+exp(1/x+y)
x + y + exp(y + 1/x)
_.atoms(Add)
set([x + y + exp(y + 1/x)])

It looks like when you specify a function (or class, like Add) that it doesn't recurse. I would have expected it to do so. I can look at this today.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues?hl=en.

Reply via email to