This type represents a Young Tableau. It is implemented as a MutableHashTable. This hash table stores a partition that represents a shape of the tableau. The filling of the tableau is stored as a mutable list.
i1 : p = new Partition from {3,2}
o1 = Partition{3, 2}
o1 : Partition
|
i2 : y = youngTableau(p,{1,0,2,3,4})
o2 = | 1 0 2 |
| 3 4 |
o2 : YoungTableau
|
i3 : peek y
o3 = YoungTableau{partition => Partition{3, 2} }
values => MutableList{...5...}
|
The object YoungTableau is a type, with ancestor classes MutableHashTable < HashTable < Thing.