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

Fix lincomb #192

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Fix lincomb #192

merged 2 commits into from
Sep 24, 2024

Conversation

SoongNoonien
Copy link
Member

julia> T = genchartab("SL3.n1");

julia> lincomb([1,1], [T[2], T[6]])
Generic character of SL3.n1
  with parameters 
    nl2 ∈ {1,…, q - 1}, ml2 ∈ {1,…, q - 1} except -ml2 + nl2 ∈ (q - 1)ℤ
  of degree q^3 + 3*q^2 + 3*q + 1
  with values
    q^3 + 3*q^2 + 3*q + 1
    3*q + 1
    1
    (q + 1)*exp(2π𝑖((a*ml2 + a*nl2)//(q - 1))) + (q + 1)*exp(2π𝑖((a*ml2 - 2*a*nl2)//(q - 1))) + q + 1 + (q + 1)*exp(2π𝑖((-2*a*ml2 + a*nl2)//(q - 1)))
    exp(2π𝑖((a*ml2 + a*nl2)//(q - 1))) + exp(2π𝑖((a*ml2 - 2*a*nl2)//(q - 1))) + 1 + exp(2π𝑖((-2*a*ml2 + a*nl2)//(q - 1)))
    exp(2π𝑖((-a*nl2 + b*ml2 - b*nl2)//(q - 1))) + exp(2π𝑖((-a*ml2 + a*nl2 - b*ml2)//(q - 1))) + exp(2π𝑖((a*ml2 + b*nl2)//(q - 1))) + exp(2π𝑖((-a*ml2 - b*ml2 + b*nl2)//(q - 1))) + exp(2π𝑖((a*ml2 - a*nl2 - b*nl2)//(q - 1))) + 2 + exp(2π𝑖((a*nl2 + b*ml
    2)//(q - 1)))
    0
    -1

julia> lincomb([1,2,2],[T[1],T[2],T[3]])
Generic character of SL3.n1
  of degree 2*q^3 + 2*q^2 + 2*q + 1
  with values
    2*q^3 + 2*q^2 + 2*q + 1
    2*q + 1
    1
    4*q + 3
    3
    7
    -1
    1

Fixes: #189

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 90.98%. Comparing base (7c5d868) to head (77a7093).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/Shifts.jl 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #192      +/-   ##
==========================================
- Coverage   91.20%   90.98%   -0.22%     
==========================================
  Files          13       13              
  Lines         841      843       +2     
==========================================
  Hits          767      767              
- Misses         74       76       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SoongNoonien SoongNoonien merged commit 0b0f722 into oscar-system:master Sep 24, 2024
5 of 7 checks passed
@SoongNoonien SoongNoonien deleted the var_shift branch October 2, 2024 14:11
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.

Error invoking lincomb
1 participant