FUNCTION: Part2Exp - multiplicities of a given partition
CALLING SEQUENCE:
- Part2Exp(part)
- PART[Part2Exp](part)
- Part2Exp(part,m)
- PART[Part2Exp](part,m)
-
PARAMETERS:
- part = any partition
- m = any positive integer
SYNOPSIS:
- The Part2Exp function gives the multiplicities of the parts of the
partition part.
- The multiplicities of a partition is the list of occurrences of positive
integers in the partition, starting from 1 up to the maximal part.
- When called with a second argument m>nops(part), it returns the list of
occurences of 1, 2, ..., m.
- Whenever there is a conflict between the function name Part2Exp
and another name used in the same session, use the long form
PART['Part2Exp'].
EXAMPLES:
> with(PART):
> Part2Exp([6,4,4,2,1]);
[1, 1, 0, 2, 0, 1]
> Part2Exp([6,4,4,2,1], 10);
[1, 1, 0, 2, 0, 1, 0, 0, 0, 0]
SEE ALSO: Exp2Part Part2Border Part2Diagonal Part2Conjugate