|
D.5.2.54 PartC
Procedure from library chern.lib (see chern_lib).
- Usage:
- PartC( I, m); I list of integers, m integer
- Return:
- list of integers
- Purpose:
- computes the complement of a partition with respect to m
- Note:
- returns the zero partition if the maximal element of the partition is smaller than m
Example:
| LIB "chern.lib";
// Complement of the partition (1, 3, 4) with respect to 5
list I = 1, 3, 4;
print( PartC(I, 5) );
==> [1]:
==> 1
==> [2]:
==> 2
==> [3]:
==> 4
|
|