Macaulay2 » Documentation
Packages » KacMoody » Command reference » weylGroupElements
next | previous | forward | backward | up | index | toc

weylGroupElements -- Enumerate Weyl-group elements

Description

Elements are listed in order of increasing length, so weylGroupElements A begins with the identity (empty word) and ends with $w_0$. Each element is given by one reduced word; other reduced words may represent the same element. Before listing all elements, the function checks the group order against MaxElements. To list elements of a chosen length, the calculation also retains elements of smaller length, so those count toward the limit as well.

i1 : L = weylGroupElements cartanA 3;
i2 : length L

o2 = 6
i3 : first L

o3 = 1_W

o3 : WeylElement
i4 : last L

o4 = s_1 s_2 s_1

o4 : WeylElement
i5 : length weylGroupElements(cartanA 4, 3)   -- |{w \in S_4 : l(w) = 3}|

o5 = 6

The first count $6$ is $|W(A_2)|=|S_3|$. The first and last displayed elements are the identity and the longest element. The second count $6$ says that $W(A_3)=S_4$ has exactly six elements of Coxeter length $3$, equivalently six permutations with three inversions.

See also

Ways to use weylGroupElements:

  • weylGroupElements(Matrix)
  • weylGroupElements(Matrix,ZZ)

For the programmer

The object weylGroupElements is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:8119:0.