% $Date: 2003/09/15 16:37:45 $ $Author: nthiery $ $Revision: 1.1.1.1 $

\begin{Mhelppage}{Part2Diagonal}{V. Prosper}%
  \begin{MInfo}
    \eng{diagonals of the given partition}
  \end{MInfo}
  
\begin{MCalls}
  \Mcall{part}
\end{MCalls}

\begin{MParameters}
  \param{part}
  \eng{a partition} 
\end{MParameters}

\begin{MIntro}
  \eng{

The {\Mthis} function gives a list composed of a list \Mex{v} and an
integer \Mex{pos}; \Mex{v} is the list of lengths of the successive diagonals
of the diagram of \Mex{part}; \Mex{pos} gives the position of the main
diagonal in \Mex{v}.
 
}
\end{MIntro}

\begin{MExample}{ex1}
\begin{Mexin}
muEC::PART::Part2Diagonal( [6,4,4,2,1] );
\end{Mexin}
\begin{Mexout}
              [[1, 1, 2, 2, 3, 3, 2, 1, 1, 1], 5]
\end{Mexout}
\end{MExample}

\MRelatedFunctions{Diagonal2Part,Part2Border,Part2Conjugate,Part2Mat,TYP::IsDiagonal,TYP::IsPart}
\end{Mhelppage}
