Comment #29 on issue 1337 by asmeurer: find all instances in an expression http://code.google.com/p/sympy/issues/detail?id=1337
Yeah, I think he stopped working on it. His work is at https://github.com/bastikr/sympy in the subs and match branches. Someone should pick up where he left off.
By the way, we should rewrite rewrite (no pun intended) to use replace---like expr.replace(sin(a), 2*tan(a/2)/(1 + tan(a/2)**2))---with a rule system. That should be much smarter and better than our present expr.rewrite(tan), which you never know for sure exactly what it will change.
-- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patc...@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-patches?hl=en.