Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well, not perfect, but something:

sage: S = Permutations(4)
sage: a=S([2,1,3,4])
sage: b=S([1,3,2,4])
sage: c=S([1,2,4,3])
sage: a*b*c
[4, 1, 2, 3]
sage: S.options(mult='r2l')
sage: a*b*c
[2, 3, 4, 1]