Can somebody explain how find works.
For example,
a = sympy.Wild('a', exclude=[x])
b = sympy.Wild('b', exclude=[x])
c = sympy.Wild('c', exclude=[x])
pattern = sympy.sqrt(a*x**2+b*x+c)

1/((x^2+a^2)+sqrt(a^2-x^2)).find(pattern) # -> set([sqrt(a^2-x^2)])
1/((x^2+a^2)*sqrt(a^2-x^2)).find(pattern) # -> set([])

How is that possible?

-- 
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/bf824a6e-a37d-4300-b793-a6b840f63ce3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to