| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Math.Combinat.Diagrams.Partitions.Skew
Description
Young and Ferrers diagrams for skew partitions.
For example, the code
skew = mkSkewPartition ( Partition [9,7,3,2,2,1] , Partition [5,3,2,1] ) drawSkewFerrersDiagram skew
produces
- drawSkewFerrersDiagram :: Renderable (Path V2 Double) b => SkewPartition -> QDiagram b V2 Double Any
 - drawSkewFerrersDiagram' :: forall b. Renderable (Path V2 Double) b => PartitionConvention -> Colour Double -> Bool -> (Bool, Bool) -> SkewPartition -> QDiagram b V2 Double Any
 - drawSkewPartitionBoxesWithInner :: forall b. Renderable (Path V2 Double) b => (Colour Double, Colour Double) -> PartitionConvention -> SkewPartition -> QDiagram b V2 Double Any
 - drawSkewPartitionBoxes :: forall b. Renderable (Path V2 Double) b => PartitionConvention -> SkewPartition -> QDiagram b V2 Double Any
 
Documentation
drawSkewFerrersDiagram :: Renderable (Path V2 Double) b => SkewPartition -> QDiagram b V2 Double Any Source
Draws a Ferrers diagram with the default settings (English notation, no inner boxes)
drawSkewFerrersDiagram' Source
Arguments
| :: Renderable (Path V2 Double) b | |
| => PartitionConvention | orientation  | 
| -> Colour Double | color  | 
| -> Bool | whether to draw the corner  | 
| -> (Bool, Bool) | whether to draw the outer resp. inner boxes  | 
| -> SkewPartition | |
| -> QDiagram b V2 Double Any | 
Example:
drawSkewPartitionBoxesWithInner Source
Arguments
| :: Renderable (Path V2 Double) b | |
| => (Colour Double, Colour Double) | colors of the outer resp. inner partitions  | 
| -> PartitionConvention | |
| -> SkewPartition | |
| -> QDiagram b V2 Double Any | 
Draws a skew partition as a grid of boxes (sometimes also called Young diagram). We draw the both the inner and the outer partition, in different colors.
drawSkewPartitionBoxes :: forall b. Renderable (Path V2 Double) b => PartitionConvention -> SkewPartition -> QDiagram b V2 Double Any Source
Draws a skew partition as a grid of boxes (sometimes also called Young diagram). We only draw the boxes of the difference!
Example: