Updates:
Labels: NeedsReview smichr
Comment #6 on issue 1220 by [email protected]: w = Wild("coeff") fails
http://code.google.com/p/sympy/issues/detail?id=1220
in https://github.com/sympy/sympy/pull/1673
p = -x*(S(1)/8-y)
p.match(Wild("coeff", exclude=[x])*x+Wild("rest"))
{rest_: 0, coeff_: y - 1/8}
p.match(Wild("w", exclude=[x])*x+Wild("rest"))
{rest_: 0, w_: y - 1/8}
p.match(Wild("coeff", exclude=[x])*x+Wild("rest"))
{rest_: 0, coeff_: y - 1/8}
p.match(Wild("w", exclude=[x])*x+Wild("rest"))
{rest_: 0, w_: y - 1/8}
p.match(Wild("e", exclude=[x])*x+Wild("rest"))
{rest_: 0, e_: y - 1/8}
p.match(Wild("ress", exclude=[x])*x+Wild("rest"))
{rest_: 0, ress_: y - 1/8}
p.match(Wild("resu", exclude=[x])*x+Wild("rest"))
{resu_: y - 1/8, rest_: 0}
p.match(Wild("resu", exclude=[x])*x+Wild("rest", exclude=[x]))
{resu_: y - 1/8, rest_: 0}
p.match(Wild("ress", exclude=[x])*x+Wild("rest", exclude=[x]))
{rest_: 0, ress_: y - 1/8}
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.