Hi, All.

Is there any way in sage to match not only given expression against
pattern, but equivalent expressions too?
Say, i want to match expression with pattern pat = c*x^p*y^q*z^r,

(2*x^2*y^3*z^4).match(pat)

works fine, but
(x*y).match(pat)
returns None, while x*y is special case of c*x^p*y^q*z^r.
Maybe there is a way to match such expressions other, than to write
additional patterns by hand?

Thanks.

-- 
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/sage-support
URL: http://www.sagemath.org

Reply via email to