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

\begin{Mhelppage}{Part2Border}{V. Prosper}

  \begin{MInfo}
    \eng{border of a given partition}
  \end{MInfo}

  \MDeclareOption{\alphabet}{alphabet}

  \begin{MCalls}
    \Mcall{part\Mopt{,\alphabet=m}}
  \end{MCalls}

  \begin{MParameters}
    \param{part}
    \eng{a partition}
  \end{MParameters}
  \begin{MOptions}
    \option{\alphabet=m}
    \eng{returns the same, \Mmath{m[1]}{m_1} denoting horizontal
      steps, \Mmath{m[2]}{m_2} vertical ones}
  \end{MOptions}
  
  \Mwarning{Use the syntax \Mex{hold(identifier)}, instead of
    \Mex{identifier}, if one of the identifiers above is already
    defined.  }

  \begin{MIntro}
    \eng{The {\Mthis} function gives the border of the diagram of a
      partition \Mex{part}.
 
      The border is a list of 0 (horizontal steps) and 1 (vertical
      steps).  border of part, 1 a vertical one.  }
  \end{MIntro}

\begin{MExample}{ex1}
\begin{Mexin}
muEC::PART::Part2Border( [6,4,4,2,1] );
\end{Mexin}
\begin{Mexout}
               [0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1]
\end{Mexout}
\begin{Mexin}
muEC::PART::Part2Border( [6,4,4,2,1], alphabet=[a,b] );
\end{Mexin}
\begin{Mexout}
               [a, b, a, b, a, a, b, b, a, a, b]
\end{Mexout}
\end{MExample}

\MRelatedFunctions{Border2Part,Part2Diagonal,Part2Conjugate,Part2Mat,TYP::IsBorder,TYP::IsPart}
\end{Mhelppage}
