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

Add docs and tests for CartanMatrix.jl #2982

Merged
merged 16 commits into from
Nov 20, 2023

Conversation

felix-roehrich
Copy link
Collaborator

This is a follow up of #2689 and adds docs and tests for the CartanMatrix.jl file added in this PR. It also adds four new functions, name cartan_symmterizer, cartan_bilinear_form, cartan_type and cartan_type_with_ordering.
Work isn't completely finished, but I want to open the discussion for the naming of functions.

For one @lgoettgens suggested to rename cartan_to_coxeter_matrix to something like coxeter_from_cartan_matrix (to follow the convention of dst_src if I remember correctly).

If time permits I will add a function for Cartan matrices of affine type. My suggestion would be cartan_matrix(fam::Symbol, rk::Int, aff::Int). I do not plan on handling the hyperbolic case, What is you opinion @fingolfin ?

Copy link
Member

@lgoettgens lgoettgens left a comment

Choose a reason for hiding this comment

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

some comments

experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/test/CartanMatrix-test.jl Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 11, 2023

Codecov Report

Merging #2982 (320214c) into master (ad349a2) will increase coverage by 0.09%.
Report is 2 commits behind head on master.
The diff coverage is 90.76%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2982      +/-   ##
==========================================
+ Coverage   80.09%   80.19%   +0.09%     
==========================================
  Files         491      492       +1     
  Lines       69349    69529     +180     
==========================================
+ Hits        55547    55756     +209     
+ Misses      13802    13773      -29     
Files Coverage Δ
experimental/LieAlgebras/src/CartanMatrix.jl 98.60% <100.00%> (+52.26%) ⬆️
experimental/LieAlgebras/src/LieAlgebras.jl 100.00% <ø> (ø)
experimental/LieAlgebras/src/CoxeterGroup.jl 0.00% <0.00%> (ø)

... and 4 files with indirect coverage changes

@felix-roehrich felix-roehrich marked this pull request as ready for review November 11, 2023 22:54
Copy link
Member

@lgoettgens lgoettgens left a comment

Choose a reason for hiding this comment

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

Please add a markdown file to include all docstrings into. And then you are able to use [`some_function`](@ref) to cross-ref in docstrings.

experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Outdated Show resolved Hide resolved
experimental/LieAlgebras/src/CartanMatrix.jl Show resolved Hide resolved
then this will be expressed by $m_{ij} = 0$ (instead of the usual convention $m_{ij} = \infty$).
The keyword argument `check` can be set to `false` to skip verification whether `gcm` is indeed a generalized Cartan matrix.
"""
function coxeter_from_cartan_matrix(gcm; check::Bool=true)
Copy link
Member

Choose a reason for hiding this comment

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

Naming discussion and review postponed until this file gets tidied up (in a future PR).

@lgoettgens
Copy link
Member

lgoettgens commented Nov 20, 2023

Can we get this merged? Maybe @thofma or @fingolfin could do that?

@thofma thofma merged commit a4c26a6 into oscar-system:master Nov 20, 2023
17 of 22 checks passed
@felix-roehrich felix-roehrich deleted the fr/cartan-docs-tests branch November 20, 2023 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants