No, but it isn't very hard to write one. You can see my attempt at http://github.com/asmeurer/sympy/tree/cycles. Feel free to cherry-pick my commit over your branch and improve it.
Aaron Meurer On Jun 21, 2010, at 9:36 AM, Alan Bromborsky wrote: > Is there any function in sympy/mumath (or python) that can do cyclic > decomposition of a permutation? > > -- > 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. > -- 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.
