I don't know the answer to your question, but I can tell you that in
my experience I find ETuples irritating and I always convert them to
ordinary lists, tuples or Sage vectors.  In your example if those
objects are converted to any of those types then equality will hold.
My impression is that the ETuple class is optimized for specialized
fast internal behavior, not for user convenience.

-M. Hampton

On Mar 21, 2:38 pm, Michael <[email protected]> wrote:
> Hi,
>
> can someone explain to me the following counterintuitive behaviour of
> ETuples and the operation eadd_p?
> When I enter in the online Sage Notebook:
>
> sage: from sage.rings.polynomial.polydict import ETuple;
> sage: ETuple([0,1]).eadd_p(1, 0)==ETuple([1,1]);
>
> I get the answer False, though I would expect those two ETuples to be
> the same.
>
> thanks for any help.
> Best
> Michael

-- 
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

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to