cf.PartitionMatrix.ravel

PartitionMatrix.ravel()[source]

Return a flattened partition matrix as a built-in list.

Returns :
out : list of Partitions

A list containing the flattened partition matrix.

Examples

>>> pl = partitions.ravel()
>>> type(pl)
list

Previous topic

cf.PartitionMatrix.pop

Next topic

cf.PartitionMatrix.remove

This Page