v = reducedWord(A, w)v = reducedWord uComputes the matrix of w and repeatedly removes a right descent. Each step lowers Coxeter length by one, so the resulting word is reduced. No Weyl-group enumeration is performed. If u is a WeylElement, the one-argument form returns its stored reduced word, in 1-based node positions.
|
|
|
The first reduced word is $(2,1)$, representing $s_2s_1$: the braid relation reduces $s_1s_2s_1s_2$ to that product. The second reduced word is the empty word, because $(s_1s_2)^3=1$ in type $A_2$.
Braid-equivalent expressions produce the same element. The fixed choice of right descent returns the same reduced word for the same matrix, although a Weyl element generally has many reduced expressions:
|
|
|
The length of the reduced word matches weylLength, and for the longest element equals the number of positive roots:
|
|
|
Custom node labels are accepted when constructing a Weyl element, but its reduced word is returned in node positions:
|
|
|
The list $(1,2,1)$ means $s_{\mathrm{left}}s_{\mathrm{right}}s_{\mathrm{left}}$. The alternate reduced expression $(2,1,2)$ represents the same element by the $A_2$ braid relation.
The object reducedWord 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:8321:0.