Here's another idea: create a DisjointCycle object for which
multiplication is R to L. In use it would look like this:

>>> C = DisjointCycle
>>> C(1, 2)*C(2, 3)
(1, 3, 2)
>>> Permutation(_).array_form(0)
[0, 3, 1, 2]

/c

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to