ACE BN BNA CG CLG COMP FM FREE HEKA IDCA NCA NCSF PART SFA SG SGA SP SYMF TAB TYP

FUNCTION: Top_n - convert any symmetric function to a p-polynomial

CALLING SEQUENCE:

Top_n(sf)
Top_n(sf, b)
CLG[Top_n](sf)
CLG[Top_n](sf, b)

PARAMETERS:

sf = any symmetric function
b = any name of a known basis

SYNOPSIS:

EXAMPLES:


> with(CLG):
> _CLGn;
 
                                   5
 
> Top_n((1+q)^5*s[3,2,2,1]):                     # expands the input
> Top_n((1+q)^5*s[3,2,2,1],noexpand):            # does not expand (1+q)^5
> Top_n((1+q)^5*s[3,2,2,1],collect):             # collects the result
> Top_n((1+q)^5*s[3,2,2,1],noexpand,'s'):        # the most efficient
> Top_n((1+q)^5*s[3,2,2,1],'s',collect):         # specifies a basis
> Top_n((1+q)^5*s[3,2,2,1],noexpand,'s',collect):
> Top_n(s[2,1]*h4 - 2*q*p3 + aa*e6);
 
            3                          4         2             2   3
  1/12 p4 p1  - 1/12 p4 p3 + 7/72 p3 p1  - 1/9 p3  p1 + 1/24 p2  p1
 
             2                5             2             7
    - 1/24 p2  p3 + 1/12 p2 p1  - 1/12 p2 p1  p3 + 1/72 p1  - 2 q p3
 
 

SEE ALSO: TYP[Sf] Toe_n Toh_n Tom_n Tos_n