PermCoxeterWord( W , w )
returns the permutation on the root vectors determined by an element which is given as a list w of integers representing the standard generators of the Coxeter group W.
gap> W := CoxeterGroup( "G", 2 );; gap> PermCoxeterWord( W, [1,2,1] ); ( 1,12)( 2, 4)( 3, 9)( 6, 7)( 8,10)
See also CoxeterWord.
This function requires the package "chevie" (see RequirePackage).
GAP 3.4.4