Comment #6 on issue 784 by julien.r...@gmail.com: .match(g1 * log(gamma) +
g2 * gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
This works if you collect before matching, i.e.
f.expand().collect(gamma).match(g1 * log(gamma) + g2 * gamma + g3). I think
this beh
Comment #7 on issue 784 by julien.r...@gmail.com: .match(g1 * log(gamma) +
g2 * gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
Tests were added for this issue. If you agree, we can close it.
--
You received this message because you are subscribed to the Google G
Comment #8 on issue 784 by asmeu...@gmail.com: .match(g1 * log(gamma) + g2
* gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
I don't know. Should match try to be smart or just do structural
matching? It's the same problem that's been discussed a dozen times wi
Comment #9 on issue 784 by julien.r...@gmail.com: .match(g1 * log(gamma) +
g2 * gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
Trying to be smart would defeat the purpose of match, I think.
--
You received this message because you are subscribed to the Google Gr
Comment #10 on issue 784 by asmeu...@gmail.com: .match(g1 * log(gamma) + g2
* gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
I think the real answer is the same as with subs: we really need both.
--
You received this message because you are subscribed to the Goo
Updates:
Labels: NeedsReview smichr
Comment #11 on issue 784 by smi...@gmail.com: .match(g1 * log(gamma) + g2 *
gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
https://github.com/sympy/sympy/pull/1673
def test_issue_784():
mu, gamma, x = symbols('mu g
Updates:
Status: Fixed
Comment #12 on issue 784 by smi...@gmail.com: .match(g1 * log(gamma) + g2 *
gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Goo
Updates:
Labels: Matching
Comment #4 on issue 784 by ronan.l...@gmail.com: .match(g1 * log(gamma) +
g2 * gamma + g3) doesn't work
http://code.google.com/p/sympy/issues/detail?id=784
(No comment was entered for this change.)
--
You received this message because you are listed in the own