-
Notifications
You must be signed in to change notification settings - Fork 185
Examples of Vector objects and Matrix objects #6339
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
cdwensley
wants to merge
125
commits into
master
Choose a base branch
from
matrix-examples
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.
Open
Changes from 1 commit
Commits
Show all changes
125 commits
Select commit
Hold shift + click to select a range
ebc233d
starting a PR of matrix examples
cdwensley a9fc8bc
Update doc/ref/matobj.xml
cdwensley 8f97abc
Update doc/ref/matobj.xml
cdwensley dc94e93
build(deps): bump actions/upload-pages-artifact from 4 to 5 (#6336)
dependabot[bot] 7dff94a
build(deps): bump julia-actions/setup-julia from 2 to 3 (#6335)
dependabot[bot] e2485f9
Improve CosetLeadersMatFFE documentation (#6338)
fingolfin f7518bf
Allow 'shifting' ranges (#6334)
fingolfin 0b3d102
Re-enable Codecov comments but delay PR notifications (#6332)
fingolfin f2e4806
PlainListCopy for list not knowing they are small (#6333)
fingolfin 155efe1
Faster {Copy,Extract}Sub{Matrix,Vector} for plist matrices/vectors (#…
fingolfin 5e7673d
not using New variants
cdwensley 91d9467
doc: fix IrreducibleModules description to say 'at most' dim (#6337)
mvanhorn 89631b2
Fix PartitionsGreatestLE for zero, improve docs (#6341)
fingolfin d75e271
Avoid some uses of IdGroup (#6343)
fingolfin 549080b
adding a few examples
cdwensley 7247dc7
a few more examples
cdwensley 75b618b
reordering Vector, ZeroVector, NewVector
cdwensley 318b1a1
reordering Vector, ZeroVector, NewVector
cdwensley 7971547
reordering Vector, ZeroVector, NewVector
cdwensley 11ab977
Merge branch 'master' into matrix-examples
cdwensley 4bec05f
Refine SetSize and remove some immediate methods (#6347)
fingolfin ae0135d
Fix HexSHA256 to always return 64 hex digits (#6358)
ChrisJefferson 361fc32
examples for Matrix
cdwensley ba798f8
examples for Matrix
cdwensley f3e317d
added alternative versions of NewMatrix
cdwensley 375569a
remove trailing spaces
cdwensley 4bf9641
Fix garbled result produced by CosetLeadersMatFFE (#6325)
fingolfin 99d2b4d
Fix crash in `CosetLeadersMatFFE` (#6326)
fingolfin 509f33f
Fix MinimalGeneratingSet for pc groups (#6340)
fingolfin 99c4a09
Add `WhereDepth` user preference (#6261)
limakzi 7e2e2da
doc: streamline Matrix argument variants (#6361)
fingolfin db03c99
Document DirectProductElement (#6260)
limakzi c818f50
Reset the options stack after an error also when the break loop is di…
ThomasBreuer 7a617cc
Guard some `IdGroup` calls by `ID_AVAILABLE` (#6353)
fingolfin 9fcabc2
Add `RandomMatrix`, `RandomInvertibleMatrix`; and fix a problem with …
ThomasBreuer ce32e78
Faster {Copy,Extract}Sub{Matrix,Vector} for plist matrices/vectors (#…
fingolfin c23216d
ChangeBaseDomain
cdwensley e0a1dbc
examples up to and including 26.10
cdwensley 8268042
Merge branch 'master' into matrix-examples
cdwensley 6059c94
resolving conflict
cdwensley fcf44fd
added examples for 26.13 and 26.14
cdwensley ca03c6d
added examples for 26.13 and 26.14
cdwensley 0ee7555
added examples for 26.13 and 26.14
cdwensley c28a132
Makefile.rules: add cleanall target, improve cleaning overall (#6378)
fingolfin 4bcb53b
Improve documentation of several action functions (#6370)
lhsoicher ce84021
Faster {Copy,Extract}Sub{Matrix,Vector} for plist matrices/vectors (#…
fingolfin 4ba4b8e
examples for Matrix
cdwensley 384ad09
very minor change
cdwensley ed61025
fixed problem which arose during rebase
cdwensley 6cce307
fixed another rebase problem
cdwensley 14d9cfe
fixed another rebase problem
cdwensley 7b0f3af
remove blank lines in test file
cdwensley c637dcb
finding it hard to fix ExtractSubMatrix.tst
cdwensley 550f275
fix missing end of example
cdwensley 20f9989
Fix CI with GAP.jl (#6381)
lgoettgens b157197
Fix an inconsistent ordering of conjugacy classes (#6382)
ThomasBreuer 8ad206d
scanner: don't print EOF sentinel as line context on syntax error (#6…
ChrisJefferson 70cd9fd
dev/releases: ignore dependabot PRs (#6375)
fingolfin 62c95cb
Minor cleanup of random suff (#6377)
fingolfin 1fab8e8
Avoid `IdGroup` in `IsSymmetricGroup` (#6383)
fingolfin 1fc2b45
kernel: turn global GAP and module states back into static globals (#…
fingolfin 55a5941
Ensure more tests pass with `gap --bare` (#6387)
fingolfin ca14e45
Miscellaneous fixes concerning vector and matrix objects (#6369)
ThomasBreuer 8b17158
Increase kernel major version (#6390)
lgoettgens e835aa9
CI: don't rely on primary GNU file server (#6388)
fingolfin 794e4c7
Avoid IdGroup in IsGL and IsPSL (#6391)
fingolfin 813c185
fix `ConvertToMatrixRep`, fix some `Matrix` calls (#6396)
ThomasBreuer d930595
Store dense matrices as plain row lists for faster entry access. (#6322)
fingolfin 6ec087a
Add `EnumeratorOfPartitionsSet` enumerator (#6384)
reiniscirpons 5df0292
Miscellaneous changes (#6392)
fingolfin 739efd4
ci: trigger PackageDistro from PR comments (#6379)
fingolfin 18bfe07
CI: fix package distro trigger
fingolfin c91f24a
More work on package distro trigger
fingolfin 5dd382a
Yet more work on package distro trigger
fingolfin 4baffd1
kernel: unify & speed up conversion from integer to FFE (#6398)
fingolfin c911423
Fix the powering of matrix objects by integers (#6397)
ThomasBreuer 3abf782
Prepare testinstall testsuite for --bare (#6406)
fingolfin 2d64e3a
Put compressed marices/vectors into filter IsMatrix/IsList (#6400)
fingolfin 6ed1870
PackageVariablesInfo: better support variadic functions (#6404)
fingolfin c92da5e
kernel: strengthen vecgf2 and vec8bit validation, reject empty vector…
fingolfin 6a23cec
Document SemiSimpleType field restriction (#6408)
fingolfin c357f74
Clarify IsomorphismPcGroup docs (#6405)
fingolfin bb7c63b
Reformat and refactor StructureDescription code (#6403)
fingolfin cd11370
Add new logo to banner (B&W) (#6357)
mtorpey 67f1493
Switch banner to fully compact mode
fingolfin 5963bb6
Turn LoadPackageDocumentation into a unary function (#6411)
fingolfin 8705a57
doc: describe OrbitStabilizer return value (closes #6324) (#6410)
mvanhorn d034054
Run --bare testinstall test in CI (#6354)
fingolfin aa8f2ef
Prepare release notes for GAP 4.16.0 (#6414)
fingolfin 67273d9
Start work on GAP 4.17
fingolfin 619e1f5
emscripten: add Docker-based one-stop build and polish demo page (#6385)
ChrisJefferson 2a86fd1
Update COPYRIGHT
fingolfin f6f18ce
Fix RingGeneralMappingByImages for non-SCRing (#6418)
fingolfin cb52dc7
Update CHANGES.md
fingolfin 34c914b
Normalize release archive permissions (#6420)
fingolfin 82b1bc7
julia-gc: introduce DISABLE_STACK_SCAN (#6421)
fingolfin e4acd39
Miscellaneous kernel tweaks (#6422)
fingolfin 54e3cbe
More kernel tweaks (#6428)
fingolfin d09727a
kernel: remove `ErrorReturnObj`, `C_NEW_STRING` (#6415)
fingolfin dac42b3
Fix ConjugateGroup for matrix groups not defined over a field (#6425)
fingolfin 8ec1478
kernel: improve `ErrorReturnVoid` break-loop message (#6416)
fingolfin 6dedb2f
kernel: refactor FuncPRINT_CURRENT_STATEMENT (#6424)
fingolfin 78ce558
Adjust when 'Stack trace:' message is printed (#6432)
fingolfin 8e14166
build(deps): bump codecov/codecov-action from 6 to 7 (#6430)
dependabot[bot] 85effa8
Adjust conway polynomial error message (#6433)
fingolfin 447f093
Widen declaration for many matrix related functions (#6095)
fingolfin 5b8275f
Further unify messages before break loop (#6434)
fingolfin 9b0b658
Remove dev/migratedoc.tex and doc/tut/migrat.xml (#6431)
fingolfin bdcd086
Remove SingleCollector_CollectWordRunning (#6426)
fingolfin 3e7d4fa
kernel: cleanup CRC code (#6436)
fingolfin 13de58c
doc: fix typo (#6438)
fingolfin 9627beb
build(deps): bump actions/checkout from 6 to 7 (#6444)
dependabot[bot] 3df611b
Remove InfoData, make INFO_CLASSES readonly (#6443)
fingolfin 951ebaa
Move over changes to the GAP.jl-CI job (#6445)
lgoettgens 7248631
Perfect groups data is licensed under GPL 2.0 or later (#6450)
b0c58f7
Add an argument check to `CodePcgs` (#6451)
ThomasBreuer 2c4fc43
kernel: make FormatOutput handle %g with null pointer (#6446)
fingolfin 9a9ee6f
turn the global variable `RUN_IN_GGMBI` into a global option `Run_In_…
ThomasBreuer 54bf057
Document the encoding used by CodePcGroup & PcGroupCode (#6441)
mvanhorn e4dab65
examples for Matrix
cdwensley a2108fb
Add `RandomMatrix`, `RandomInvertibleMatrix`; and fix a problem with …
ThomasBreuer 6af878f
added examples for 26.13 and 26.14
cdwensley 3adf59b
added examples for 26.13 and 26.14
cdwensley ce4d933
remove blank lines in test file
cdwensley f64b904
finding it hard to fix ExtractSubMatrix.tst
cdwensley 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
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.
Actually these can be omitted if one uses
MatrixandVectorinstead ofNewMatrixandNewVector-- in that case default are chosen, based on the base domain.My feeling is that we should generally advocate the use of the function variants without the
New; the ones withNeware constructors, and are the ones that people implementing MatrixObj ought to implement. Though I might be missing some nuance here, @ThomasBreuer ? I really should read up on what we wrote in the docs ...But in any case, this is exactly the kind of thing that must be made clear in the manual, of course
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.
My point of view is that the starting point is the semiring
R, in the sense that we want to do many computations with vectors and matrices over a givenR.Once we have fixed
R, the functionsVector( R, list )andMatrix( R, list )(orMatrix( R, list, ncols )) give us vector and matrix objects in some representation that fits toR.And once we have such a vector
vor matrixM, new vectors and matrices that fit to them can be created withVector( list, v )andMatrix( list, M ).This is the easy case.
If we do not want to rely on the default representation for
R, we can look at some list of available representations (filters), and specify explicitly which one we choose.Where is this useful or even necessary?
For example, suppose we need the matrix group
GL( 4, GF(2) ), but we know already that later on this will be regarded as a subgroup ofGL( 4, GF(2^10) ).It may happen that the default representations for matrix objects over
GF(2)andGF(2^10)differ.In this situation, we should create
GL( 4, GF(2) )in such a way that the generators are written in a representation that is suitable also for matrices overGF(2^10).Currently I see no easier way to achieve this than to create a matrix object over
GF(2^10), to ask for itsConstructingFilter, and to specify this filter in the construction of the groupGL( 4, GF(2) ).