FUNCTION: Diagonal2Part - partition from a list of diagonals
CALLING SEQUENCE:
- Diagonal2Part(diago)
- PART[Diagonal2Part](diago)
-
PARAMETERS:
- diago = a list with two components
SYNOPSIS:
- The Diagonal2Part function takes a list [v,pos] as argument, where v is
a list (lengths of the successive diagonals of the diagram of part)
and pos an integer (position of the main diagonal), and returns
the partition part such that Part2Diagonal(part) = [v,pos].
- Whenever there is a conflict between the function name Diagonal2Part and
another name used in the same session, use the long form
PART['Diagonal2Part'].
EXAMPLES:
> with(PART):
> Diagonal2Part([[1,1,2,2,3,3,2,1,1,1], 5]);
[6, 4, 4, 2, 1]
SEE ALSO: Part2Diagonal Part2Border Part2Conjugate Part2Mat