
| ACE | BN | BNA | CG | CLG | COMP | FM | FREE | HEKA | IDCA | NCA | NCSF | PART | SFA | SG | SGA | SP | TAB | TYP |
FUNCTION: Toh - convert any symmetric function to a h-polynomial
CALLING SEQUENCE:
PARAMETERS:
SYNOPSIS:
EXAMPLES:
> with(SYMF):
> Toh((1+q)^5*e3*e4): # expands the input
> Toh((1+q)^5*e3*e4,noexpand): # does not expand (1+q)^5
> Toh((1+q)^5*e3*e4,collect): # collects the result
> Toh((1+q)^5*e3*e4,noexpand,'e'): # the most efficient
> Toh((1+q)^5*e3*e4,'e',collect): # specifies a basis
> Toh((1+q)^5*e3*e4,noexpand,'e',collect):
> Toh(s[2,1]*e4 - 2*q*p3);
2 2 3 2 2 3
- h4 h2 h1 + h4 h3 + 5 h3 h1 h2 - 2 h3 h1 + h2 h1 - h2 h3 - 3 h2 h1
5 4 3
+ h1 h2 - h1 h3 - 6 q h3 + 6 q h2 h1 - 2 q h1