Macaulay2 » Documentation
Packages » Tableaux :: MutableYoungTableau
next | previous | forward | backward | up | index | toc

MutableYoungTableau -- a type of HashTable representing a Young tableau, with mutable entries

Description

An object of type MutableYoungTableau is a hash table containing two shapes of type Partition, and a mutable list of box entries. The entries may have any type, except for null objects.

The inner and outer shapes, $\lambda$ and $\mu$ respectively, can be any sequence of integers. In particular, it accepts negative parts, compositions, rows where $\lambda_i < \mu_i$, and compositions where $\ell(\lambda)\neq\ell(\mu)$.

i1 : lam = new Partition from {4,3,2}

o1 = Partition{4, 3, 2}

o1 : Partition
i2 : mu = new Partition from {3,1}

o2 = Partition{3, 1}

o2 : Partition
i3 : entryList = {1,2,3,3,9}

o3 = {1, 2, 3, 3, 9}

o3 : List
i4 : T = mutableYoungTableau(lam,mu,entryList)

                 ┌───┐
o4 =             │ 1 │
         ┌───┬───┼───┘
         │ 2 │ 3 │    
     ┌───┼───┼───┘    
     │ 3 │ 9 │        
     └───┴───┘        

o4 : MutableYoungTableau
i5 : T_(1,1) = 8

o5 = 8
i6 : T

                 ┌───┐
o6 =             │ 1 │
         ┌───┬───┼───┘
         │ 8 │ 3 │    
     ┌───┼───┼───┘    
     │ 3 │ 9 │        
     └───┴───┘        

o6 : MutableYoungTableau

See also

Functions and methods returning an object of class MutableYoungTableau:

Methods that use an object of class MutableYoungTableau:

For the programmer

The object MutableYoungTableau is a type, with ancestor classes YoungTableau < HashTable < Thing.


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Tableaux/documentation.m2:38:0.