muEC::PART::ListPart

muEC::PART::ListPart – list of partitions of a given weight

returns the list of the partitions of a given weight

→ Examples

Call:

muEC::PART::ListPart(n, <Options>)

Parameters:

n:

any non negative integer

Options:

maxlg = l:

maximal number of parts of each partition

maxpart = p:

outermost possible shape

regular = m:

only m-regular partitions are listed

nb:

only counts objects

Related Functions:

muEC::PART::ListPartIn , muEC::PART::ListSkewDiag , muEC::TYP::IsPart

Details:

The muEC::PART::ListPart function gives all partitions of n.

A partition of n is a weakly decreasing list of positive integers, called parts, with sum n.

When called with one argument, say n, the function returns the list of all partitions of n.

Given a partition part, _plus(op(part)) gives its weight.

Example 1:

muEC::PART::ListPart( 4 );

math

muEC::PART::ListPart( 5, maxlg=3 );

math

muEC::PART::ListPart( 5, maxpart=[3,2], maxlg=3 );

math

muEC::PART::ListPart( 100, nb );

math

AltStyle によって変換されたページ (->オリジナル) /