combinat-diagrams-0.1: Graphical representations for various combinatorial objects

Safe HaskellNone
LanguageHaskell98

Math.Combinat.Diagrams.Partitions.Integer

Description

Young and Ferrers diagrams for integer partitions

Synopsis

Documentation

drawFerrersDiagram :: Renderable (Path R2) b => Partition -> Diagram b R2 Source

Draws a Ferrers diagram with the default settings (English notation, no boxes)

drawFerrersDiagram' Source

Arguments

:: Renderable (Path R2) b 
=> PartitionConvention

orientation

-> Colour Double

color

-> Bool

whether to draw the boxes

-> Partition 
-> Diagram b R2 

drawPartitionBoxes :: Renderable (Path R2) b => PartitionConvention -> Partition -> Diagram b R2 Source

Draws a partition as a grid of boxes (sometimes also called Young diagram)