Crate integer_partitions

Source
Expand description

Efficiently enumerate integer partitions.

This is an implementation of a method described by Jerome Kelleher, which takes a constant amount of time for each partition.

Structsยง

Partitions
Iterates over the partitions of a given positive integer.