Comment #12 on issue 1799 by smichr: Replace exp(x) with E**x internally
http://code.google.com/p/sympy/issues/detail?id=1799

I think that perhaps the way to do this is leave exp alone. It has several methods that would become messy to handle--just my hunch. How about this, though:

1) give expr a property ".is_pow" which is False
2) override in Pow and exp with being True
3) give exp the properties .base and .exp

Now when you don't care if you get a Pow or exp, ask if eq.is_pow and if it is, proceed as usual with the base and exp.

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

Reply via email to