This type represents a list of tableaux of the same size. They are represented as a MutableHashTable. A matrix in this hash table stores the filling of every tableau in the list. This representation is particularly usefull when only the filling of the tableau is needed.
i1 : p = new Partition from {2,1}
o1 = Partition{2, 1}
o1 : Partition
|
i2 : y1 = youngTableau(p,{0,1,2})
o2 = | 0 1 |
| 2 |
o2 : YoungTableau
|
i3 : y2 = youngTableau(p,{0,2,1})
o3 = | 0 2 |
| 1 |
o3 : YoungTableau
|
i4 : y3 = youngTableau(p,{1,2,0})
o4 = | 1 2 |
| 0 |
o4 : YoungTableau
|
i5 : t = tableauList p
o5 = {}
o5 : TableauList
|
i6 : addTableau(t, y1)
o6 = {| 0 1 |}
| 2 |
o6 : TableauList
|
i7 : addTableau(t, y2)
o7 = {| 0 1 |, | 0 2 |}
| 2 | | 1 |
o7 : TableauList
|
i8 : addTableau(t, y3)
o8 = {| 0 1 |, | 0 2 |, | 1 2 |}
| 2 | | 1 | | 0 |
o8 : TableauList
|
i9 : peek t
o9 = TableauList{length => 3 }
matrix => | 0 1 2 |
| 0 2 1 |
| 1 2 0 |
partition => Partition{2, 1}
|
The object TableauList is a type, with ancestor classes MutableHashTable < HashTable < Thing.