I recently learned that if A is a polynomial ring in Sage in variables x,
y, and z, the command
A({tuple([1,1,1]):1})
returns x*y*z.
Can somebody explain this syntax to me? I understand tuple([1,1,1]), but
what are the curly brackets and the colon doing?
Also, is there a reason that A.monomial([1,1,1]) does not return the same
result?
--Ursula.
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.