Are you certain that these two functions return elements in the same order?
On Feb 8, 11:40 pm, Mike Hansen <[email protected]> wrote: > On Wed, Feb 8, 2012 at 3:29 PM, ObsessiveMathsFreak > > <[email protected]> wrote: > > Is there no way of getting sage to give back the degree's of the > > corresponding multivariate polynomials as well. That is to return > > something like > > > [[10,[100,1]],[3,[1,0]]] > > exponents() is what you need: > > sage: zip(B.coefficients(), B.exponents()) > [(10, (100, 1)), (3, (1, 0))] > > --Mike -- 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
