On Wednesday, 2 December 2015 17:19:50 UTC+1, Sergey Kirpichev wrote:
>
>
> Pattern matching in Sympy is not a useful thing in that 
> sense, AFAIK it doesn't handle subexpressions.
>

Current pattern matching could be modified to support subexpressions, the 
only fear is that it would mess up all solvers based on pattern matching.

I have the impression that SymPy's pattern matcher works too much like an 
equation solver and too little like a formula matcher.

The issue of sublist matching is quite stringent, as lots of substitutions 
could get way easier.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/27d75961-3108-437b-b620-96f7a2385907%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to