Skip to content
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

Improve documentation for the "Matrix groups" section #4556

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ThomasBreuer
Copy link
Member

  • add introductory text and examples for matrix groups (analogous to the recent changes in the documentation for f.p. groups)
  • improve the documentation for sesquilinear forms
  • change/fix docstrings, add examples to docstrings
  • export invariant_bilinear_form, invariant_quadratic_form, invariant_sesquilinear_form (alternatively, we could remove their documentation from the manual)

- add introductory text and examples for matrix groups
  (analogous to the recent changes in the documentation for f.p. groups)
- improve the documentation for sesquilinear forms
- change/fix docstrings, add examples to docstrings
- export `invariant_bilinear_form`, `invariant_quadratic_form`,
  `invariant_sesquilinear_form`
  (alternatively, we could remove their documentation from the manual)
@ThomasBreuer ThomasBreuer added documentation Improvements or additions to documentation topic: groups release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes labels Feb 6, 2025
@@ -184,7 +184,7 @@ An exception is thrown if `base_ring(G)` is not a finite field with even degree
over its prime subfield.

!!! warning "Note:"
At the moment, elements of the generating set are returned of type `mat_elem_type(G)`.
At the moment, elements of the generating set are returned of type `mat_elem_type(typeof(G))`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For other similar *_type function we actually make sure that one can also pass in instances, for convenience. Maybe a good idea to do that here, too? E.g. we do this in AA:

elem_type(x) = elem_type(typeof(x))
elem_type(T::DataType) = throw(MethodError(elem_type, (T,)))

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.43%. Comparing base (ca6338c) to head (f1cabb1).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4556      +/-   ##
==========================================
- Coverage   84.43%   84.43%   -0.01%     
==========================================
  Files         673      673              
  Lines       89624    89624              
==========================================
- Hits        75676    75671       -5     
- Misses      13948    13953       +5     
Files with missing lines Coverage Δ
src/Groups/matrices/MatGrp.jl 94.36% <100.00%> (ø)
src/Groups/matrices/form_group.jl 97.56% <ø> (ø)
src/Groups/matrices/forms.jl 93.25% <ø> (ø)
src/Groups/matrices/linear_centralizer.jl 100.00% <ø> (ø)
src/Groups/matrices/linear_isconjugate.jl 100.00% <ø> (ø)
src/Groups/matrices/matrix_manipulation.jl 98.59% <ø> (ø)
src/Groups/matrices/transform_form.jl 98.51% <ø> (ø)

... and 3 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: groups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants