muEC::PART::SplitPart – splits a partition into several ones

The muEC::PART::SplitPart function returns the set of ways of splitting the partition part into two partitions.

Called with a second argument n, the partition is splitted into n partitions, possibly empty.

→ Examples

Call:

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

Parameters:

part

a partition

n

a positive integer

Related Functions:

muEC::TYP::IsPart

Example 1:

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

math

muEC::PART::SplitPart( [2,1], 3 );

math