Skip to content

Commit

Permalink
Correct orthogonal standard generators
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Rademacher committed Jan 15, 2024
1 parent 22f8e7a commit 47675c5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 12 deletions.
30 changes: 30 additions & 0 deletions PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,36 @@ Persons := [
Place := "Aachen",
Institution := "Chair of Algebra and Representation Theory, RWTH Aachen",
),
rec(
FirstNames := "Cheryl",
LastName := "Praeger",
WWWHome := "https://research-repository.uwa.edu.au/en/persons/cheryl-praeger",
Email := "Cheryl.Praeger@emeriti.uwa.edu.au",
IsAuthor := true,
IsMaintainer := false,
PostalAddress := Concatenation(
"Cheryl Praeger\n",
"The University of Western \n",
"Australia (M019), 35 Stirling Highway\n",
"6009 Perth\n",
"Australia" ),
Place := "Perth",
),
rec(
FirstNames := "Tomasz",
LastName := "Popiel",
WWWHome := "https://research.monash.edu/en/persons/tomasz-popiel",
Email := "Tomasz.Popiel@monash.edu",
IsAuthor := true,
IsMaintainer := false,
PostalAddress := Concatenation(
"Tomasz Popiel\n",
"Monash University\n",
"Wellington Road\n",
"Clayton VIC 3800\n",
"Australia" ),
Place := "Melbourne",
),
],

SourceRepository := rec( Type := "git", URL := "https://github.com/User141/BruhatDecomposition2" ),
Expand Down
24 changes: 12 additions & 12 deletions gap/BruhatDecompositionO.gi
Original file line number Diff line number Diff line change
Expand Up @@ -431,13 +431,13 @@ function(d,q)
s := IdentityMat( d, fld );
s[1][1] := Zero(fld);
s[d][d] := Zero(fld);
s[(d+1)/2][(d+1)/2] := -1 * One(fld);
s[1][d] := One(fld);
s[d][1] := One(fld);
s[(d+1)/2][(d+1)/2] := One(fld);
s[1][d] := -1*One(fld);
s[d][1] := -1*One(fld);

t := IdentityMat( d, fld );
t[1][d] := One(fld);
t[1][(d+1)/2] := 2 * One(fld);
t[1][d] := -1*One(fld);
t[1][(d+1)/2] := -2*One(fld);
t[(d+1)/2][d] := One(fld);

delta := IdentityMat( d, fld );
Expand Down Expand Up @@ -485,14 +485,14 @@ function(d,q)
s := IdentityMat( d, fld );
s[1][1] := Zero(fld);
s[d][d] := Zero(fld);
s[1][d] := One(fld);
s[d][1] := One(fld);
s[d/2][d/2] := -1 * One(fld);
s[1][d] := -1 * One(fld);
s[d][1] := -1 * One(fld);
s[d/2][d/2] := One(fld);

t := IdentityMat( d, fld );
t[1][d] := One(fld);
t[1][(d/2) + 1] := One(fld);
t[(d/2) + 1][d] := 2 * One(fld);
t[1][(d/2)] := One(fld);
t[(d/2)][d] := 2 * One(fld);

A := 1/2 * ((gamma^(q-1))+(gamma^(-q+1)));
if A <> Zero(fld) then
Expand All @@ -518,8 +518,8 @@ function(d,q)
delta[d][d] := w^(-1);
delta[(d/2)][(d/2)] := A;
delta[(d/2)+1][(d/2)+1] := A;
delta[(d/2)][(d/2)+1] := B;
delta[(d/2)+1][(d/2)] := C;
delta[(d/2)][(d/2)+1] := C;
delta[(d/2)+1][(d/2)] := B;

u := IdentityMat( d, fld );
u{[1..2]}{[1..2]} := [[0,1],[-1,0]];
Expand Down

0 comments on commit 47675c5

Please sign in to comment.