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

FUNCTION: ToQPh - express any quasi-symmetric function in the QPh-basis (dual basis of noncommutative power sums symmetric function of the second kind)

CALLING SEQUENCE:

ToQPh(qsf)
ToQPh(qsf, b)
NCSF[ToQPh](qsf)
NCSF[ToQPh](qsf, b)

PARAMETERS:

qsf = any quasi-symmetric function
b = any name of a known basis

SYNOPSIS:

EXAMPLES:


> with(NCSF):
> ToQPh((1+q)^2*QPs[2,1]):                       # expands the input
> ToQPh((1+q)^2*QPs[2,1],noexpand):              # does not expand (1+q)^2
> ToQPh((1+q)^2*QPs[2,1],collect):               # collects the result
> ToQPh((1+q)^2*QPh[2,1]*QPh[2],'QPh'):          # specifies a basis
> ToQPh((1+q)^2*QPh[2,1],noexpand,'QPh',collect):# the most efficient
> ToQPh((1+q)^2*QPs[2,1]+M[3,1]+t^3*M[2,2],noexpand,collect);
 
                       2                   2              3
          - 1/2 (1 + q)  QPh[3] + 3 (1 + q)  QPh[2, 1] + t  QPh[2, 2]
 
                             3
             + (- 1/2 - 1/2 t ) QPh[4] + QPh[3, 1]
 

SEE ALSO: ToE ToF ToM ToQPs