-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Omit non-characters from PermChars
results
#1867
Merged
olexandr-konovalov
merged 3 commits into
gap-system:master
from
ThomasBreuer:TB_PermChars_reduce
Nov 16, 2017
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
############################################################################# | ||
## | ||
#W ctblpope.tst GAP tests Thomas Breuer | ||
## | ||
#Y Copyright (C) 2017 | ||
## | ||
## excluded from 'testinstall.g' as it takes considerable time | ||
## | ||
|
||
gap> START_TEST( "ctblpope.tst" ); | ||
|
||
## | ||
gap> m:= CharacterTable( "M" );; | ||
gap> torso:= [ 512372707698741056749515292734375, 405589064025344574375, | ||
> 29628786742129575, 658201521662685, 215448838605, 0, 121971774375, | ||
> 28098354375, 335229607, 108472455, 164587500, 4921875,,,,,, 0, | ||
> 437325, 0,,,,,,, 6561, 6561, 177100, 7660, 6875, 315, 275, 0,,,, 0,, | ||
> ,,,, 0, 0, 0, 3885, 525, 0,,,, 0,,,, 28, 81, 189, 9, 9, 9, 0, 540, | ||
> 300, 175, 20, 15, 7,, 0, 0, 0, 0, 0, 0, 0,,,,, 0,,,,, 0, 0, 0, 0, | ||
> 0, 0, 77, 45, 13, 0, 0,,,,, 0,,,,,,, 0, 0, 4, 0, 0, 9, 9, 3, 1, 0, | ||
> 0, 0, 0, 0, 0, 4, 1, 1, 0,, 0, 0, 0, 0, 0,, 0, 0, 0, 0, 0, 0,, 0,, | ||
> 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,,,,,, 0,,, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
> 0, 0, 0,, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
> 0 ];; | ||
gap> lower:= [ 512372707698741056749515292734375, 102893356234868574375, | ||
> 2045161610873834, 47672538696202, 3040608610, 0, 8009187743, | ||
> 783427000, 7075556, 2277590, 11945867, 18679, 52124902, 49314, | ||
> 451068, 32739, 1790, 0, 7469, 0, 789, 3826, 827, 176, 212, 63, 133, | ||
> 25, 3540, 131, 27, 2, 2, 0, 1032, 131, 444, 0, 38, 9, 4, 3, 3, 0, | ||
> 0, 0, 19, 6, 0, 20, 0, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 1, 0, 4, 2, 1, | ||
> 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, | ||
> 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, | ||
> 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, | ||
> 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, | ||
> 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | ||
> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ];; | ||
gap> rat:= RationalizedMat( Irr( m ) );; | ||
gap> constit:= rat{ [ 1, 2, 4, 5, 7, 8, 9, 10, 11, 14, 15, 16, 17, 18, | ||
> 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, | ||
> 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, | ||
> 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, | ||
> 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, | ||
> 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, | ||
> 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, | ||
> 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, | ||
> 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, | ||
> 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, | ||
> 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172 ] };; | ||
gap> cand:= PermChars( m, rec( torso:= torso, chars:= constit, | ||
> lower:= lower, normalsubgroup:= [ 1 .. NrConjugacyClasses( m ) ], | ||
> nonfaithful:= TrivialCharacter( m ) ) );; | ||
gap> Length( cand ); | ||
1 | ||
|
||
## | ||
gap> STOP_TEST( "ctblpope.tst", 1 ); | ||
|
||
############################################################################# | ||
## | ||
#E | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before calling
CharacterTable( "M" );;
, please put the lineThis will ensure that the Character Table Library is loaded for the test, otherwise
make testandard
will fail when no packages are loaded with this being the first of a number of diffs:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P.S. A better idea would be indeed to run the test only when
IsPackageMarkedForLoading("ctbllib","");
returnstrue
. This will not enforce loading the package when GAP is started with-r -A
options.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e.g. along the lines