Comment #8 on issue 2026 by smi...@gmail.com: Exact, algebraic, and
integer_power substitution
http://code.google.com/p/sympy/issues/detail?id=2026
I would like to refer to these as exact and extractive (algebraic). The 3rd
case is an extractive case. When you don't want the extractive case then
you should either give the exact replacement or an option to solve a
relationship for a variable to replace. So e.subs(exp(x), y) could mean:
1) replace exp(2*x) exactly or replace x with solve(exp(2*x) - y, x)[0]
2) replace exp(2*x) extractively so exp(4*x) becomes y**2 and exp(3*x) is
unchanged
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@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.