
| ACE | BN | BNA | CG | CLG | COMP | FM | FREE | HEKA | IDCA | NCA | 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:
PARAMETERS:
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]