Return a flat iterator over the partitions in the partition matrix.
An iterator over the elements of the partition matrix.
Examples
>>> type(pm.flat()) <generator object flat at 0x145a0f0> >>> for partition in pm.flat(): ... print partition.Units
cf.PartitionMatrix.extend
cf.PartitionMatrix.index
Enter search terms or a module, class or function name.