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

randomStandardTableau -- get a random standard Young Tableau

Description

Note that this does not select a tableau uniformly randomly.

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

o1 = Partition{5, 4, 3, 3, 1}

o1 : Partition
i2 : randomStandardTableau lam

     ┌────┬────┬────┬────┬────┐
o2 = │ 1  │ 2  │ 5  │ 11 │ 15 │
     ├────┼────┼────┼────┼────┘
     │ 3  │ 4  │ 6  │ 13 │     
     ├────┼────┼────┼────┘     
     │ 7  │ 8  │ 9  │          
     ├────┼────┼────┤          
     │ 10 │ 12 │ 14 │          
     ├────┼────┴────┘          
     │ 16 │                    
     └────┘                    

o2 : YoungTableau

See also

Ways to use randomStandardTableau:

  • randomStandardTableau(Partition)

For the programmer

The object randomStandardTableau is a method function.


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