-
Notifications
You must be signed in to change notification settings - Fork 162
Add encode and pc_group for encoding finite pc groups into integers and back
#5456
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
Open
varuntrehan7
wants to merge
17
commits into
oscar-system:master
Choose a base branch
from
varuntrehan7:code-wrapper-pcgroup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+72
−1
Open
Changes from 2 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
90bc8c5
functions for oscar wrappers for pcgroupcode
varuntrehan7 f76780b
adding tests for pcgroupcode
varuntrehan7 a216c4e
fix the pcgroupcode
varuntrehan7 4cb5b93
add stronger tests in pcgroupcode testset
varuntrehan7 744d0bc
removing redundant functions
varuntrehan7 eeaddfd
fix the testset with no methods for group as an arguement.
varuntrehan7 ad08e81
remove unnecessary function.
varuntrehan7 dd10a1b
fix the docstring of `pcgroup_code`
varuntrehan7 876a802
Add explicit IntegerUnion types to pcgroup_code signature
varuntrehan7 eb3233a
fix the docsting
varuntrehan7 a9aa27c
fix the function pcgroup_code
varuntrehan7 018769f
Fix pcgroup_code with no overflows that also matches the docstring.
varuntrehan7 f3f9745
Rename code_pcgroup to encode and pcgroup_code to pc_group for consis…
varuntrehan7 e1873c7
update pc_group and encode functions to use GapInt conversion directly
varuntrehan7 49934f3
Merge branch 'master' into code-wrapper-pcgroup
lgoettgens c452989
Merge branch 'master' into code-wrapper-pcgroup
fingolfin b7fec6c
Merge branch 'master' into code-wrapper-pcgroup
fingolfin 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
I have some doubts about the function names now: in OSCAR convention we don't normally denote the input type. So by that logic, this function should just be called
code.The reverse function
pcgroup_codecould then either be called justpc_group(it'd be different from other methods for that in that it would take twoZZRingElemas argument); or have a speaking name, such aspcgroup_from_code.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.
If I ref to #5456 (comment) and #5456 (comment), at least Thomas and I agree with you