Combinatorics.jl
Combinatorics.jl copied to clipboard
Make a separate IntegerPartitions.jl package?
In NumericalRepresentationTheory.jl I use my own implementation of partitions as a special type Partition, which repeats some of the functionality in this package. I also need to add some additional features, eg., support for partitions with a finite number of rows (which I need as they are one-to-one with a basis of symmetry polynomials). I also need some more esoteric functionality like a cached version of cumsum(npartitions.(1:n)).
I was thinking this could live in its own package IntegerPartitions.jl, probably copying some of the code from here, but I wanted to see if anyone had thoughts or perhaps other existing implementations of partitions.