#6263: [with patch; needs review] Add __cmp__ method to ClassFunctions (group
characters)
--------------------------+-------------------------------------------------
Reporter: saliola | Owner: joyner
Type: defect | Status: new
Priority: major | Milestone: sage-4.0.2
Component: group_theory | Keywords:
Reviewer: | Author:
Merged: |
--------------------------+-------------------------------------------------
Comment(by wdj):
Replying to [comment:4 saliola]:
> Replying to [comment:2 wdj]:
> > I thought GAP's characters were returned in randomish order, at least
for more complicated groups that have lots of conjugacy classes of a given
order. Does this patch handle that situation?
>
> The GAP manual contains a section called [http://www.gap-
system.org/~gap/Manuals/doc/htm/ref/CHAP070.htm#SECT003 Comparison of
Class Functions], which reads:
> {{{
> So two class functions are equal if and only if their lists of values
are equal, no matter whether they are class functions of the same
character table, of the same group but w.r.t. different class ordering, or
of different groups.
> }}}
Okay, it seems as though at least you are improving the situation over
what GAP has!
> So this is partly replicated here, except that the patch actually tests
the groups as well as the values.
>
> If you think it would be better, we can just ask GAP and return the
answer it gives.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6263#comment:6>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---