A candidate for UniqueRepresentation?
Cheers,
Nicolas
--
Nicolas M. Thi�ry "Isil" <nth...@users.sf.net>
http://Nicolas.Thiery.name/
I am not sure either.
> If they prefer them to be equal but non-identical:
> It seems to me that the comparison in fact only relies on
> * the type of the representation (Specht's representation, Young's
> seminormal representation, Young's orthogonal representation)
> * the attribute _ring
> * the attribute _partition
>
> But before I implement a comparison relying on these or a unique
> representation, I need to know what users/experts want.
This sounds reasonable to me. I have just bounced your e-mail to
sage-combinat-devel since I am not sure, e.g., Franco is reading
sage-algebra.
I do not remember why I implemented it the way I did, but I also agree
with the suggested change.
Take care,
Franco
--
Semantically, I would choose to have equality mean (1), and leave the
others to specific method(s) like "is_isomorphic". This turns out to
coincide with what Simon is implementing :-)
> By the way, I've hit that bug when I worked on speeding up
> cached_method decorators. Namely, one part of the speed-up comes from
> using an additional attribute - and since the representations have
> some cached_method, the comparison broke. I just realize that I had
> forgotten to mention it on the ticket.
>
> It is #8611 and ready for review (if you care about making
> cached_method a lot faster).
I do!!!!!! I'll have a look. Thanks!