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

\begin{Mhelppage}{Sf2TableVar}%
  {V. Prosper}%
  \begin{MInfo}
    \eng{variable set of a symmetric function}
  \end{MInfo}
  
  \begin{MCalls}
    \Mcall{sf\Mopt{,b,bset}}
  \end{MCalls}

  \begin{MParameters}
    \param{sf}
    \eng{any symmetric function}
    \param{b}
    \eng{a known basis}
    \param{bset}
    \eng{a set of known bases}
  \end{MParameters}
  
  \begin{MIntro}
    \eng{The {\Mthis} function returns a table whose entries describe
      the set of all symmetric functions that appear in a given
      expression \Mex{sf}.  The indices of the table are taken into
      the global variable \Mex{SYMFBases}.
 
      For each basis, the entry consists of the set of all partitions
      that index the corresponding symmetric function in \Mex{sf}.
 
      An entry equal to an empty set means that the symmetric function
      does not appear in \Mex{sf}.
 
      One can add a second argument to select some symmetric functions
      among those in \Mex{SYMFBases}.
      
      If the second argument is a set of names, then the restriction
      to this set of indices of the table is returned.
      
      In case the second argument is the name of a basis, then the
      corresponding entry in the table is returned instead of the
      table. }
\end{MIntro}

\begin{MExample}{ex1}
\begin{Mexin}
muEC::SYMF::Sf2TableVar( s[5]*s[4]*h[3] + q*m[3]*p[6,4] );
\end{Mexin}
\begin{Mexout}
                       table(
                         s = {[4], [5]},
                         m = {[3]},
                         p = {[6, 4]},
                         h = {[3]},
                         e = {}
                       )
\end{Mexout}
% \begin{Mexout}[hide]
     % table(s={[4], [5]},e={},h={[3]},m={[3]},p={[6, 4]})
% \end{Mexout}
\begin{Mexin}
muEC::SYMF::Sf2TableVar( s[5]*s[4]*h[3] + q*m[3]*p[6,4], {p, m} );
\end{Mexin}
\begin{Mexout}
                        table(
                          m = {[3]},
                          p = {[6, 4]}
                        )
\end{Mexout}
% \begin{Mexout}[hide]
                  % table(m={[3]},p={[6, 4]})
% \end{Mexout}
\begin{Mexin}
muEC::SYMF::Sf2TableVar( s[5]*s[4]*h[3] + q*m[3]*p[6,4], s );
\end{Mexin}
\begin{Mexout}
                          {[4], [5]}
\end{Mexout}
\end{MExample}

\MRelatedFunctions{Sf2Table}
\end{Mhelppage}
