words G
The following example computes, for each permutation in the symmetric group on three elements, a word of minimal length in the Coxeter generators.




The computation of the words addressing each element in the group is actually performed by the method schreierGraph since the process of computing the Schreier graph of the group yields other useful information about the group.
The object words is a method function.