Home Online Manual
Top
Back: PartC
Forward: partUnder
FastBack:
FastForward:
Up: chern_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.15.3.55 partOver

Procedure from library chern.lib (see chern_lib).

Usage:
partOver( n, J); n integer, J list of integers (partition)

Return:
list of lists

Purpose:
computes the partitions over a given one with summands not exceeding n

Note:

Example:
 
LIB "chern.lib";
// Partitions over the partition (3, 3, 4) with summands not exceeding 4
list I = 3, 3, 4;
print( partOver(4, I) );
==> [1]:
==>    [1]:
==>       3
==>    [2]:
==>       3
==>    [3]:
==>       4
==> [2]:
==>    [1]:
==>       3
==>    [2]:
==>       4
==>    [3]:
==>       4
==> [3]:
==>    [1]:
==>       4
==>    [2]:
==>       4
==>    [3]:
==>       4