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

YoungTableau == YoungTableau -- check if two Young tableaux are equal

Description

Two tableaux are equal if they have the same shape (ignoring trailing 0s), and the same filling.

i1 : T1 = youngTableau(new Partition from {5,3,1}, new Partition from {2}, {7,2,4,1,3,6,5})

             ┌───┬───┬───┐
o1 =         │ 7 │ 2 │ 4 │
     ┌───┬───┼───┼───┴───┘
     │ 1 │ 3 │ 6 │        
     ├───┼───┴───┘        
     │ 5 │                
     └───┘                

o1 : YoungTableau
i2 : T2 = youngTableau(new Partition from {5,3,1}, new Partition from {2}, {2,7,4,3,6,1,5})

             ┌───┬───┬───┐
o2 =         │ 2 │ 7 │ 4 │
     ┌───┬───┼───┼───┴───┘
     │ 3 │ 6 │ 1 │        
     ├───┼───┴───┘        
     │ 5 │                
     └───┘                

o2 : YoungTableau
i3 : T1 == T2

o3 = false

Ways to use this method:


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