ACE BN BNA CG CLG COMP FM FREE HEKA IDCA NCA NCSF PART SFA SG SGA SP SYMF TAB TYP

FUNCTION: Part2Border - border of a given partition

CALLING SEQUENCE:

Part2Border(part)
PART[Part2Border](part)

PARAMETERS:

part = a partition

SYNOPSIS:

EXAMPLES:


> with(PART):
> Part2Border([6,4,4,2,1]);
 
                       [0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1]
 
> Part2Border([6,4,4,2,1], 'alphabet'=[a,b]);
 
                       [a, b, a, b, a, a, b, b, a, a, b]
 

SEE ALSO: Border2Part Part2Diagonal Part2Conjugate Part2Mat