S = reflectionMatrix(W, label)S = reflectionMatrix(A, i)The simple reflection $s_i$ acts on a simple root by $s_i(\alpha_j) = \alpha_j - A_{ij}\alpha_i$. This function gives the corresponding $n\times n$ integer matrix in the simple-root basis. A Weyl-group word $w = s_{i_1}\cdots s_{i_k}$ is obtained as the product of these matrices; see weylElementMatrix. When a Cartan datum is supplied, nodes can be specified by name or by positions numbered from $1$. With a matrix, use positions.
|
|
|
|
The columns of the first matrix give $s_1(\alpha_1)=-\alpha_1$, $s_1(\alpha_2)=\alpha_1+\alpha_2$, and $s_1(\alpha_3)=\alpha_3$. The second matrix represents $s_2s_1$, with $s_1$ acting first. Both matrices act on column vectors of simple-root coefficients.
Reflections are involutions ($s_i^2 = e$), and a pair $(s_i, s_j)$ of simple reflections satisfies the braid relation $(s_i s_j)^{m_{ij}} = e$, where $m_{ij} \in \{2,3,4,6\}$ depending on $A_{ij}A_{ji}\in\{0,1,2,3\}$; when the product is at least $4$, $m_{ij}=\infty$. For example in $G_2$ one has $m_{12}=6$:
|
|
|
|
|
Reflections also satisfy the formula $s_i(\alpha_j) = \alpha_j - A_{ij}\alpha_i$, which is exactly the $j$-th column of the reflection matrix:
|
The object reflectionMatrix 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:7742:0.