Safe Haskell | None |
---|---|
Language | Haskell2010 |
Young and Ferrers diagrams for integer partitions.
For example the code
drawFerrersDiagram' EnglishNotation red True $ Partition [8,6,3,3,1]
produces the diagram:
- partitionConventionTransformation :: PartitionConvention -> QDiagram b V2 Double Any -> QDiagram b V2 Double Any
- drawFerrersDiagram :: Renderable (Path V2 Double) b => Partition -> QDiagram b V2 Double Any
- drawFerrersDiagram' :: Renderable (Path V2 Double) b => PartitionConvention -> Colour Double -> Bool -> Partition -> QDiagram b V2 Double Any
- drawPartitionBoxes :: Renderable (Path V2 Double) b => PartitionConvention -> Partition -> QDiagram b V2 Double Any
Documentation
partitionConventionTransformation :: PartitionConvention -> QDiagram b V2 Double Any -> QDiagram b V2 Double Any Source
drawFerrersDiagram :: Renderable (Path V2 Double) b => Partition -> QDiagram b V2 Double Any Source
Draws a Ferrers diagram with the default settings (English notation, no boxes)
drawPartitionBoxes :: Renderable (Path V2 Double) b => PartitionConvention -> Partition -> QDiagram b V2 Double Any Source
Draws a partition as a grid of boxes (sometimes also called Young diagram)