Comment #6 on issue 1601 by julien.r...@gmail.com: match trouble and tutorial
http://code.google.com/p/sympy/issues/detail?id=1601
The example eq4.match(p) now works in master. What one must do while matching is to also consider the identity as a possible matching candidate. In the case of Add, the identity would be zero, the term a*f(x) matches to zero with a: 0, then b matches the rest -> {a: 0, b: x + sin(x)}.
Tests were added for these examples. This issue remains open for documenting the stuff.
-- 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.