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

D.15.4.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