On May 28, 4:19 pm, Ryan Hinton <iob...@email.com> wrote:
>
<SNIP>
>
> I also tried working directly
> with the degree tuples instead of the monomials, but tuples aren't
> mutable, subtraction isn't defined for them, and (x1**(-1)) gives a
> FractionFieldElement again.
>
> Any suggestions?

How about copying the degree tuples into (mutable) lists, or
dictionaries with keys given by the generators of the ring?

Cheers
Javier

--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to