% $Id: toFrobenius.tex,v 1.1.1.1 2003/09/15 16:37:34 nthiery Exp $

\begin{MMethodDetails}{toFrobenius}

  \infoEng{Frobenius notation of a partition}

  \call{\Mtype{partition} p}
  
  \eng{Returns the \emph{Frobenius notation} of the partition
    \Mpar{p}. This is a list of two lists (list of diagonal arms, list
    of diagonal legs) which encodes the decomposition of the diagram
    of the partition \Mpar{p} into diagonal hooks.}

\end{MMethodDetails}

\begin{MExample}{ex1}
  
  \eng{We compute the frobenius notation of the partition \Mex{[7, 5,
      3, 3, 1]} which has $3$ diagonal hooks:}

  \begin{Mexin}
combinat::partitions::toFrobenius( [7, 5, 3, 3, 1] )
  \end{Mexin}
  \begin{Mexout}
                    [[6, 3, 0], [4, 2, 1]]
  \end{Mexout}

\end{MExample}
