muEC::PART::Part2Mat – a planar representation of a given partition
Draw the Ferrer's diagram of a partition.
Call:
muEC::PART::Part2Mat(part, alphabet = l)
Parameters:
part: |
a partition |
Options:
alphabet = l: |
is the partition component, is the outer component |
Related Functions:
muEC::PART::ListPart, muEC::PART::Part2Border, muEC::PART::Part2Conjugate, muEC::PART::Part2Diagonal, muEC::TYP::IsPart
Details:
The muEC::PART::Part2Matfunction gives a planar representation of a partition, (called diagram of the partition) in the Cartesian plane.
A partition is a decreasing list of positive integers.
muEC::PART::Part2Mat( [4,2,2] );
print( Unquoted, muEC::PART::Part2Mat( [4,2,2], alphabet=["#",""] ) ):
+- -+
| #, #, , |
| |
| #, #, , |
| |
| #, #, #, # |
+- -+