FUNCTION: Part2Border - border of a given partition
CALLING SEQUENCE:
- Part2Border(part)
- PART[Part2Border](part)
-
PARAMETERS:
- part = a partition
SYNOPSIS:
- The Part2Border function gives the north-east border of the diagram of a
partition part.
- The border is a list of 0 (horizontal steps) and 1 (vertical steps).
- The following option is available:
- 'alphabet' = m where m is a list of length 2, returns the
same, m[1] denoting horizontal steps, m[2] vertical ones.
- Whenever there is a conflict between the function name Part2Border and
another name used in the same session, use the long form
PART['Part2Border'].
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