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

FUNCTION: Tox_n - express any symmetric function in the basis of monomials

CALLING SEQUENCE:

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

PARAMETERS:

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

SYNOPSIS:

EXAMPLES:


> with(CLG):
> CLG_n(3);
                                      3
 
> Tox_n((1+q)^3*e3*e2):                          # expands the input
> Tox_n((1+q)^3*e3*e2,noexpand):                 # does not expand (1+q)^3
> Tox_n((1+q)^3*e3*e2,collect):                  # collects the result
> Tox_n((1+q)^3*e3*e2,noexpand,'e'):             # the most efficient
> Tox_n((1+q)^3*e3*e2,'e',collect):              # specifies a basis
> Tox_n((1+q)^3*e3*e2,noexpand,'e',collect):
> Tox_n(p2^3);
 
   6       4   2       4   2       2   4       2   2   2       2   4     6
 x1  + 3 x1  x2  + 3 x1  x3  + 3 x1  x2  + 6 x1  x2  x3  + 3 x1  x3  + x2
 
           4   2       2   4     6
     + 3 x2  x3  + 3 x2  x3  + x3
 

SEE ALSO: TYP[Sf]