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

weylElement -- Construct a Weyl element from a word in simple reflections

Description

A Cartan matrix, Cartan datum, realization, root datum, or finite type name may be supplied instead of a Weyl group. Finite, affine, and indefinite types are allowed. In $s_{i_1}\cdots s_{i_k}$ the rightmost reflection acts first. The word is reduced automatically, and the empty list represents the identity. Node arguments are positions numbered starting at 1, chosen node labels, or position-label tables. An integer between 1 and the number of nodes always means a position. Coordinate tuples follow the matrix order, so the conventional affine node 0 occupies position 1 in the canonical affine matrices.

i1 : W = weylGroup "A2";
i2 : w = weylElement(W,{1,2,1,1});
i3 : (w,reducedWord w,weylLength w)

o3 = (s_1 s_2, {1, 2}, 2)

o3 : Sequence

The two adjacent $s_1$ factors cancel, so the output represents $s_1s_2$ with reduced word $(1,2)$ and length 2. This is a group element, not a formal list that treats different expressions as different elements.

See also

Ways to use weylElement:

  • weylElement(CartanDatum,List)
  • weylElement(KMWeylGroup,List)
  • weylElement(Matrix,List)
  • weylElement(Realization,List)
  • weylElement(RootDatum,List)
  • weylElement(String,List)

For the programmer

The object weylElement 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:13797:0.