Skip to content

Admit the syntax SymplecticGroup( IsPlistMatrixRep, 4, GF(4) )#6299

Open
ThomasBreuer wants to merge 2 commits intogap-system:masterfrom
ThomasBreuer:TB_CFFMGE
Open

Admit the syntax SymplecticGroup( IsPlistMatrixRep, 4, GF(4) )#6299
ThomasBreuer wants to merge 2 commits intogap-system:masterfrom
ThomasBreuer:TB_CFFMGE

Conversation

@ThomasBreuer
Copy link
Copy Markdown
Contributor

Up to now, we had to say
SymplecticGroup( IsMatrixGroup, 4, GF(4) : ConstructingFilter:= IsPlistMatrixRep ).

For the new syntax, introduce the global list ConstructingFiltersForMatrixGroupElements
and add the current MatrixObj filters to it.
That is, we derive from the fact that IsPlistMatrixRep is contained in ConstructingFiltersForMatrixGroupElements that
SymplecticGroup( IsPlistMatrixRep, 4, GF(4) ) asks for a matrix group.

If this approach is o.k. then I can document it, and change the code for more group constructions to use it.

(A separate commit fixes two NewMatrix methods, the situation that the matrix is given by a flat list was not handled before.)

Up to now, we had to say
`SymplecticGroup( IsMatrixGroup, 4, GF(4) : ConstructingFilter:= IsPlistMatrixRep )`.

For the new syntax, introduce the global list
`ConstructingFiltersForMatrixGroupElements`
and add the current MatrixObj filters to it.
That is, we derive from the fact that `IsPlistMatrixRep` is contained in
`ConstructingFiltersForMatrixGroupElements` that
`SymplecticGroup( IsPlistMatrixRep, 4, GF(4) )` asks for a matrix group.

If this approach is o.k. then I can document it,
and change the code for more group constructions to use it.
@ThomasBreuer ThomasBreuer added kind: new feature topic: library release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: new feature release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant