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

boxContent -- compute the content of a box of a tableau

Description

The content of box (i,j) is defined as $j-i$.

i1 : T = skewTableau(new Partition from {6,6,5,3,1}, new Partition from {2,1,1})

             ┌───┬───┬───┬───┐
o1 =         │   │   │   │   │
         ┌───┼───┼───┼───┼───┤
         │   │   │   │   │   │
         ├───┼───┼───┼───┼───┘
         │   │   │   │   │    
     ┌───┼───┼───┼───┴───┘    
     │   │   │   │            
     ├───┼───┴───┘            
     │   │                    
     └───┘                    

o1 : SkewTableau
i2 : boxContent(1,1)

o2 = 0
i3 : applyPositions(T, thePosition -> boxContent thePosition)

               ┌────┬────┬────┬────┐
o3 =           │ 2  │ 3  │ 4  │ 5  │
          ┌────┼────┼────┼────┼────┤
          │ 0  │ 1  │ 2  │ 3  │ 4  │
          ├────┼────┼────┼────┼────┘
          │ -1 │ 0  │ 1  │ 2  │     
     ┌────┼────┼────┼────┴────┘     
     │ -3 │ -2 │ -1 │               
     ├────┼────┴────┘               
     │ -4 │                         
     └────┘                         

o3 : SkewTableau

Ways to use boxContent:

  • boxContent(ZZ,ZZ)

For the programmer

The object boxContent is a method function.


The source of this document is in Tableaux/documentation.m2:1054:0.