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

\begin{Mhelppage}{Table2Sf}{V. Prosper}%
  \begin{MInfo}
    \eng{converts a table into a symmetric function}
  \end{MInfo}

  \begin{MCalls}
    \Mcall{t,b}
  \end{MCalls}

  \begin{MParameters}
    \param{t}
    \eng{a table representing a symmetric function}
    \param{b}
    \eng{any name of known basis}
  \end{MParameters}

  \begin{MIntro}
    \eng{The {\Mthis} function converts a table into a symmetric
      function.  The table is indexed by partitions (possibly empty)
      and each entry that corresponds to a partition \Mex{part} is
      interpreted as the coefficient of \Mex{b[part]} in the
      expression of the symmetric function in the basis \Mex{b}.  }
  \end{MIntro}

\begin{MExample}{ex1}
\begin{Mexin}
t := table([]=q, [3,1,1]=q^2, [4,2]=q+1);
\end{Mexin}
\begin{Mexout}
                       table(
                         [4, 2] = q + 1,
                                      2
                         [3, 1, 1] = q ,
                         [] = q
                       )
\end{Mexout}
% \begin{Mexout}[hide]
             % table([]=q, [3,1,1]=q^2, [4,2]=q+1)
% \end{Mexout}
\begin{Mexin}
muEC::SYMF::Table2Sf(t, s);
\end{Mexin}
\begin{Mexout}
                                       2
            q s[] + (q + 1) s[4, 2] + q  s[3, 1, 1]
\end{Mexout}
% \begin{Mexout}[hide]
          % q^2*s[3, 1, 1] + (q + 1)*s[4, 2] + q*s[];
% \end{Mexout}
\end{MExample}

\MRelatedFunctions{Sf2Table}
\end{Mhelppage}
