#4487: [with patch; needs work] add method to evaluate characters of permutation
and matrix groups
--------------------------+-------------------------------------------------
Reporter: wdj | Owner: joyner
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.2.1
Component: group_theory | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by mabshoff):
* summary: [with patch; positive review] add method to evaluate
characters of permutation and matrix groups =>
[with patch; needs work] add method to evaluate
characters of permutation and matrix groups
Comment:
This patch does not pass doctests with 3.2:
{{{
[EMAIL PROTECTED]:/scratch/mabshoff/release-cycle/sage-3.2.1.alpha0$ ./sage -t
-long devel/sage/sage/groups/class_function.py
sage -t -long devel/sage/sage/groups/class_function.py
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.1.alpha0/devel/sage/sage/groups/class_function.py", line
335:
sage: chi.restrict(H)
Expected:
Character of Subgroup of SymmetricGroup(5) generated by [(1,2,3),
(1,2), (4,5)]
Got:
Character of Subgroup of SymmetricGroup(5) generated by [(4,5), (1,2),
(1,2,3)]
**********************************************************************
File "/scratch/mabshoff/release-
cycle/sage-3.2.1.alpha0/devel/sage/sage/groups/class_function.py", line
348:
sage: xi = H.trivial_character(); xi
Expected:
Character of Subgroup of SymmetricGroup(5) generated by [(1,2,3),
(1,2), (4,5)]
Got:
Character of Subgroup of SymmetricGroup(5) generated by [(4,5), (1,2),
(1,2,3)]
**********************************************************************
2 items had failures:
1 of 7 in __main__.example_21
1 of 7 in __main__.example_22
***Test Failed*** 2 failures.
For whitespace errors, see the file /scratch/mabshoff/release-
cycle/sage-3.2.1.alpha0/tmp/.doctest_class_function.py
[6.8 s]
exit code: 1024
}}}
I am not quite sure what is going on here, but I guess we need to sort the
generators at some point.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4487#comment:9>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---