[Previous] [Contents]

PART::SplitPart -- splits a partition into several ones

Call(s)


PART::SplitPart(part <,n>)

Parameters

part- a partition
n- a positive integer

Introduction

The 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.

Example 1

>> muEC::PART::SplitPart( [4,2,1] );
      {[[], [4, 2, 1]], [[1], [4, 2]], [[2], [4, 1]], [[4], [2, 1]],
      
         [[2, 1], [4]], [[4, 1], [2]], [[4, 2], [1]], [[4, 2, 1], []]
      
         }
>> muEC::PART::SplitPart( [2,1], 3 );
      {[[], [], [2, 1]], [[], [1], [2]], [[], [2], [1]],
      
         [[], [2, 1], []], [[1], [], [2]], [[1], [2], []],
      
         [[2], [], [1]], [[2], [1], []], [[2, 1], [], []]}

Related Functions

TYP::IsPart

[Previous] [Contents]


MuPAD Combinat, an open source algebraic combinatorics package