M = weylElementMatrix(A, w)M = weylElementMatrix uThe word w need not be reduced. The resulting matrix depends only on the Weyl-group element represented by the word, so a nonreduced word will still give the correct matrix; equivalently, any two reduced words for the same element give equal matrices. Alternatively, u can be a WeylElement. Its stored Cartan datum determines the same matrix on simple-root coordinates.
|
|
|
Both Weyl-element matrices are the same $A_2$ matrix: their columns express $\alpha_1\mapsto-\alpha_2$ and $\alpha_2\mapsto-\alpha_1$. The equality reflects the braid relation $s_1s_2s_1=s_2s_1s_2$; these two words represent the longest element.
The longest element $w_0$ of a finite Weyl group acts by $-1$ in types $A_1$, $D_{2n}$, $E_7$, $E_8$, $B_n$, $C_n$, $F_4$, and $G_2$. For $A_n$ with $n\geq 2$, $w_0$ acts as the negative of the diagram-reversing automorphism. For $A_3$, its matrix reverses the simple-root order and changes each sign:
|
|
Since $D_4$ is of type $D_{2n}$, its longest element acts as $-\mathrm{id}$ on the root lattice:
|
|
The object weylElementMatrix is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:7802:0.