-
Notifications
You must be signed in to change notification settings - Fork 9
Introduce explicit field argument and reduce reliance on DefaultFieldOfMatrixGroup
#135
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
Introduce explicit field argument and reduce reliance on DefaultFieldOfMatrixGroup
#135
Conversation
| if IsSquareInt(Size(field)) then | ||
| q := RootInt(Size(field)); | ||
| else |
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.
This workaround should not be necessary anymore with your changes, right?
| if IsSquareInt(Size(field)) then | |
| q := RootInt(Size(field)); | |
| else | |
| Assert(0, IsSquareInt(Size(field))); # paranoia check | |
| q := RootInt(Size(field)); |
or even better
| if IsSquareInt(Size(field)) then | |
| q := RootInt(Size(field)); | |
| else | |
| Assert(0, IsSquareInt(Size(field))); # paranoia check | |
| q := Characteristic(field) ^ (DegreeOverPrimeField(field)/2) |
| q := Size(field); | ||
| fi; |
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.
| q := Size(field); | |
| fi; |
| if not IsFinite(F) then | ||
| ErrorNoReturn("The base field of <G> must be finite"); | ||
| fi; | ||
| if not IsEvenInt(DegreeOverPrimeField(F)) then |
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.
Ditto: can probably be replace by an assertion?
fieldargument to bothConjugateToSesquilinearFormandConjugateToStandardForm.DefaultFieldOfMatrixGroup.DefaultFieldOfMatrixGroup).DefaultFieldOfMatrixGroup.Resolves #132.