Status: Accepted
Owner: smichr
Labels: Type-Enhancement Priority-Medium
New issue 1601 by smichr: match trouble and tutorial
http://code.google.com/p/sympy/issues/detail?id=1601
This is quoted from issue 1429:
a = Wild('a', exclude=[f(x)])
b = Wild('b')
p = a*f(x) + b
eq1 = s
Comment #1 on issue 1601 by asmeurer: match trouble and tutorial
http://code.google.com/p/sympy/issues/detail?id=1601
Yep, this is pretty much what I saw when I stepped through it in the
debugger. It seems like there should be a
way for the pattern to check to see if it can still match the x
Comment #2 on issue 1601 by smichr: match trouble and tutorial
http://code.google.com/p/sympy/issues/detail?id=1601
That's useful to know about the ordering issue...just to be precise, the
terms of the
pattern and the expression are procesed in reverse order of how they come
out of
args, so,
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 o
Updates:
Labels: Matching
Comment #4 on issue 1601 by ronan.l...@gmail.com: match trouble and tutorial
http://code.google.com/p/sympy/issues/detail?id=1601
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC fields of this issu