-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed ConstituentsOfCharacter for Brauer character
- The variant of `ConstituentsOfCharacter` with only argument a Brauer character was wrong, it regarded the character as an ordinary character. (This bug has been reported by Gabriel Navarro.) - Also the case of a virtual Brauer character was not handled correctly. The two bugs are now fixed, some tests for the variants of arguments are available, and the documentation states which cases are admissible: ordinary or modular characters, ordinary of modular virtual characters. Also, the documentation
- Loading branch information
1 parent
388d9c2
commit 8229690
Showing
3 changed files
with
57 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#@local ordtbl, modtbl, irr, chi, const, ibr, phi | ||
gap> START_TEST( "ctblfuns.tst" ); | ||
|
||
# | ||
gap> ordtbl:= CharacterTable( GL(2,3) );; | ||
gap> modtbl:= ordtbl mod 2;; | ||
gap> irr:= Irr( ordtbl );; | ||
gap> chi:= irr[5] * irr[5];; | ||
gap> const:= ConstituentsOfCharacter( chi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1, 1, 1, 1, -1, -1, -1 ], [ 3, 0, 3, 0, -1, -1, -1, 1 ] ] | ||
gap> const:= ConstituentsOfCharacter( -chi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1, 1, 1, 1, -1, -1, -1 ], [ 3, 0, 3, 0, -1, -1, -1, 1 ] ] | ||
gap> const:= ConstituentsOfCharacter( ordtbl, chi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1, 1, 1, 1, -1, -1, -1 ], [ 3, 0, 3, 0, -1, -1, -1, 1 ] ] | ||
gap> const:= ConstituentsOfCharacter( ordtbl, ValuesOfClassFunction( chi ) );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1, 1, 1, 1, -1, -1, -1 ], [ 3, 0, 3, 0, -1, -1, -1, 1 ] ] | ||
gap> ibr:= Irr( modtbl );; | ||
gap> phi:= ibr[2] * ibr[2];; | ||
gap> const:= ConstituentsOfCharacter( phi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1 ], [ 2, -1 ] ] | ||
gap> const:= ConstituentsOfCharacter( -phi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1 ], [ 2, -1 ] ] | ||
gap> const:= ConstituentsOfCharacter( modtbl, phi );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1 ], [ 2, -1 ] ] | ||
gap> const:= ConstituentsOfCharacter( modtbl, ValuesOfClassFunction( phi ) );; | ||
gap> List( const, ValuesOfClassFunction ); | ||
[ [ 1, 1 ], [ 2, -1 ] ] | ||
|
||
# | ||
gap> STOP_TEST( "ctblfuns.tst" ); |