-
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.
IsMatrixObj
interface for GAP's matrix groups
GAP's default mechanism for dealing with small matrix groups is to compute an isomorphic permutation group via the action on orbits of vectors. With these changes, this mechanism works for groups of objects in `IsMatrixObj` that are not plain lists of lists. Of course this is just one step, more changes in this area will follow. (A preliminary test case is contained in the `GAPJulia` package.) Some changes are hopefully not controversial, such as replacing `Length` calls by calls of `NumberRows`, and replacing matrix entry access `m[i][j]` by `m[i,j]`. For other changes, there would be alternatives. - Instead of introducing a new attribute `RowsOfMatrix`, one could declare `ListOp( <matobj> )` for `<matobj>` in `IsMatrixObj` (and not only for `<matobj>` in `IsRowListMatrix`). From the viewpoint that the use of `ListOp` for `IsMatrixObj` matrices is not recommended, according to `lib/matobj2.gd`, I prefer `RowsOfMatrix`. - In `DefaultScalarDomainOfMatrixList`, one could argue that also lists of `IsMatrixObj` objects with different `BaseDomain` can make sense, but I think that showing an error message is more in the spirit of `IsMatrixObj`.
- Loading branch information
1 parent
8a9aa64
commit 554cde7
Showing
5 changed files
with
122 additions
and
49 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
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