Comment #14 on issue 2026 by ronan.l...@gmail.com: Exact, algebraic, and integer_power substitution
http://code.google.com/p/sympy/issues/detail?id=2026

replace() doesn't depend on matching, it just applies the substitution rule given to it. On the other hand, matching relies on replace() in my branch and it's basically defined by the fact that if match = expr.match(pattern), then pattern.replace(match) == expr.

What I said in my last comment is that replace() can actually perform any substitution, not just atomic substitution, if the substitution rule is implemented in the dictionary.

--
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.

Reply via email to