Hello,

I am doing computations over the symbolic ring SR in order to (mostly)
preserve the structure of my expressions (e.g., (x+y)*(z+w) should
stay factored).  Keeping the structure is important for later code
generation purposes.

I also frequently want to know whether two expressions are the same,
and in particular to build efficient dictionaries keyed by a canonical
version of the expression for CSE.  The expressions will always be
multivariate integer polynomials.  If p,q are two such expressions,
does it suffice to use p.expand() as the canonical form?  Is that the
fast way?

Thanks,
Geoffrey

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to