Macaulay2 » Documentation
Packages » Tableaux :: numColumns(SkewTableau)
next | previous | forward | backward | up | index | toc

numColumns(SkewTableau) -- the number of columns in a tableau

Description

The number of rows is the same as largest part in its shape, minus the smallest part in the shape.

i1 : drawInnerShape true 
i2 : T = skewTableau(new Partition from {4,3,1}, new Partition from {1,1,1})

         ┌───┬───┬───┐
o2 =   ■ │   │   │   │
         ├───┼───┼───┘
       ■ │   │   │    
         └───┴───┘    
       ■              
                      

o2 : SkewTableau
i3 : numColumns T

o3 = 3

Note that, if a shape contains negative parts, then columns may have negative indices.

i4 : T' = skewTableau(new Partition from {4,3,1}, new Partition from {-1,1,1})

     ┌───║───┬───┬───┬───┐
o4 = │   ║   │   │   │   │
     └───║───┼───┼───┼───┘
         ║ ■ │   │   │    
         ║   └───┴───┘    
         ║ ■              
         ║                

o4 : SkewTableau
i5 : numColumns T'

o5 = 5

See also

Ways to use this method:


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