Fast Generators and Iterators for Permutations, Combinations, Integer Partitions and Compositions
arrangements: Fast Generators and Iterators for Permutations, Combinat...
Combinations generator
Compositions generator
Combinations iterator
Compositions iterator
Partitions iterator
Permutations iterator
Number of combinations
Number of compositions
Number of partitions
Number of permutations
Partitions generator
Permutations generator
Fast generators and iterators for permutations, combinations, integer partitions and compositions. The arrangements are in lexicographical order and generated iteratively in a memory efficient manner. It has been demonstrated that 'arrangements' outperforms most existing packages of similar kind. Benchmarks could be found at <https://randy3k.github.io/arrangements/articles/benchmark.html>.