ReducedCoxeterWord( W , w )
returns a reduced expression for an element of the Coxeter group W,
which is given as a list w of integers where each entry i in this
list represents the i-th standard generator of W.
gap> W := CoxeterGroup( "E", 6 );;
gap> ReducedCoxeterWord( W, [ 1, 1, 1, 1, 1, 2, 2, 2, 3 ] );
[ 1, 2, 3 ]
This function requires the package "chevie" (see RequirePackage).
GAP 3.4.4