Comment #4 on issue 1823 by smichr: integral.atoms(Symbol) should introspect http://code.google.com/p/sympy/issues/detail?id=1823
Then should a new method be made in Integral somewhere? Perhaps in doit a flag to not really do it but just tell what the final atoms will be could be added. I'm not sure what the best name would be. Any ideas of placement or naming would be appreciated.
Note also, that atoms() gives all the atoms. Symol gives only the *surviving* atoms:
Integral(x,(y,0,1),z).atoms()
set([1, x, y, z, 0])
Integral(x,(y,0,1),z).atoms(Symbol)
set([x, z]) I wonder if atoms should have a deep option so the following would succeed:
Integral(x, (x, None, Integral(y))).atoms(Integral)
set([Integral(x, (x, None, Integral(y, y)))]) the above involves Integral but could just as well be any class Add:
(1+(2+x)*(3+x)).atoms(Add)
set([1 + (2 + x)*(3 + x)]) -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- 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.
