WordBraid( b )
b is a braid element which must be in the braid monoid. WordBraid
returns as a list of indices the list of generators of the braid monoid
B(W) of which b is an element (the group W can be obtained by
CoxeterGroup(b)).
gap> W := CoxeterGroup( "A", 3 );;
gap> b := Braid( W )( [ 2, 1, 2, 1, 1 ] );
121.1.1
gap> WordBraid( b );
[ 1, 2, 1, 1, 1 ]
This function requires the package "chevie" (see RequirePackage).
GAP 3.4.4