On Sat, Jan 08, 2011 at 01:08:47PM -0800, Simon King wrote:
> Currently, if two representations of a symmetric group are compared,
> it is essentially a test of their __dict__. Obviously this is no
> mathematically meaningful way of comparison: If you have to equal
> representations and then cache some info in one of them, then suddenly
> they compare different:
> sage: spc = SymmetricGroupRepresentation([3])
> sage: spc == SymmetricGroupRepresentation([3])
> True
> sage: spc._cache_some_info = 'sage rules'
> sage: spc == SymmetricGroupRepresentation([3])
> False
>
> So, how should comparison be done instead?
A candidate for UniqueRepresentation?
Cheers,
Nicolas
--
Nicolas M. ThiƩry "Isil" <[email protected]>
http://Nicolas.Thiery.name/
--
You received this message because you are subscribed to the Google Groups
"sage-combinat-devel" group.
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-combinat-devel?hl=en.