Revision history [back]

Hello,

It is possible to do

sage: L = [2,3,1,6,8,-3,9]
sage: Word(L).standard_permutation()
[3, 4, 2, 5, 6, 1, 7]


which is the inverse as the one given is the other answers... but then

sage: Word(L).standard_permutation().inverse()
[6, 3, 1, 2, 4, 5, 7]