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

rowRange -- the range of row indices of a tableau.

Description

Returns the sequence 0..(numRows T - 1).

i1 : T = skewTableau(new Partition from {5,4,2,1,0,0}, new Partition from {2,2,2}, toList(1..6))

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

o1 : SkewTableau
i2 : rowRange T

o2 = (0, 1, 2, 3)

o2 : Sequence
i3 : for i in rowRange T do print rowEntries(T,i)
{1, 2, 3}
{4, 5}
{}
{6}

See also

Ways to use rowRange:

  • rowRange(SkewTableau)

For the programmer

The object rowRange is a method function.


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