muEC::PART::Part2Exp – multiplicities of parts in partitions

Computes the multiplicities of parts in a given partition.

→ Examples

Call:

muEC::PART::Part2Exp(part, <n>)

Parameters:

part

a partition

Options:

n

an integer

Related Functions:

muEC::PART::Exp2Part

Details:

The muEC::PART::Part2Exp function is the inverse function of Exp2Part.

The muEC::PART::Part2Exp function gives the multiplicities of the parts of the partition part, the result being also known as the exponential notation of part.

The exponential notation of a partition is a vector of positive integers that indicates the number of occurrences a part appears in the partition.

When called with a second argument n, it returns the same list augmented with some zeros representing the number of occurrences of the integers from the maximal part of the partition up to m in the partition.

Example 1:

muEC::PART::Part2Exp( [6,4,4,2,1] );

math

muEC::PART::Part2Exp( [6,4,4,2,1], 10 );

math