[sympy] Re: pattern matching in sympy

2010-04-30 Thread basti
On Apr 28, 2:59 am, Ronan Lamy ronan.l...@gmail.com wrote: Le mardi 27 avril 2010 à 15:49 -0700, basti a écrit : Like many others before I stumbled over sympy's pattern matching. I'm mainly interested in matching non-commutative expressions - which is currently simply not implemented.

[sympy] Re: pattern matching in sympy

2010-04-30 Thread basti
On Apr 30, 3:05 pm, basti basti...@gmail.com wrote: On Apr 28, 2:59 am, Ronan Lamy ronan.l...@gmail.com wrote: Le mardi 27 avril 2010 à 15:49 -0700, basti a écrit : Like many others before I stumbled over sympy's pattern matching. I'm mainly interested in matching non-commutative

[sympy] Re: pattern matching in sympy

2010-04-28 Thread Vinzent Steinberg
On 28 avr, 02:59, Ronan Lamy ronan.l...@gmail.com wrote: This issue has been raised many times and I think nobody likes the current situation. However, the current behaviour is quite convenient when it works, and much code depends on it. I think that the best solution is to distinguish

[sympy] Re: pattern matching in sympy

2010-04-28 Thread basti
On Apr 28, 2:59 am, Ronan Lamy ronan.l...@gmail.com wrote:   * Refactor whole matching logic into a separate module, and use the Basic.match function only as interface. This was also done for printing and I think the pattern matching is complex enough to justify this step. I don't