ACE BN BNA CG CLG COMP FM FREE HEKA IDCA NCA NCSF PART SFA SG SGA SP SYMF TAB TYP

FUNCTION: Part2Mat - a planar representation of a given partition

CALLING SEQUENCE:

Part2Mat(part)
PART[Part2Mat](part)

PARAMETERS:

part = a partition

SYNOPSIS:

EXAMPLES:


> with(PART):
> Part2Mat([4,2,2]);
 
                                 [ 1  1  0  0 ]
                                 [            ]
                                 [ 1  1  0  0 ]
                                 [            ]
                                 [ 1  1  1  1 ]
 
> Part2Mat([4,2,2], 'alphabet'=[`#`,` `]);
 
                                 [ #  #       ]
                                 [            ]
                                 [ #  #       ]
                                 [            ]
                                 [ #  #  #  # ]
 

SEE ALSO: Part2Border Part2Conjugate Part2Diagonal ListPart