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

allSubPartitions -- list all partitions whose Young diagrams are contained in another

Description

i1 : theBag = allSubPartitions(new Partition from {2,2,1},new Partition from {1})

o1 = -*a bagged sequence of length 8*-

o1 : Bag
i2 : for nu in theBag do print youngDiagram nu
┌───┐
│   │
└───┘
┌───┬───┐
│   │   │
└───┴───┘
┌───┐
│   │
├───┤
│   │
└───┘
┌───┬───┐
│   │   │
├───┼───┘
│   │    
└───┘    
┌───┬───┐
│   │   │
├───┼───┤
│   │   │
└───┴───┘
┌───┐
│   │
├───┤
│   │
├───┤
│   │
└───┘
┌───┬───┐
│   │   │
├───┼───┘
│   │    
├───┤    
│   │    
└───┘    
┌───┬───┐
│   │   │
├───┼───┤
│   │   │
├───┼───┘
│   │    
└───┘    

See also

Ways to use allSubPartitions:

  • allSubPartitions(Partition)
  • allSubPartitions(Partition,Partition)

For the programmer

The object allSubPartitions 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:195:0.