Combinatorics.jl icon indicating copy to clipboard operation
Combinatorics.jl copied to clipboard

A combinatorics library for Julia

Results 72 Combinatorics.jl issues
Sort by recently updated
recently updated
newest added

For some applications, it can be helpful to include in the set of partitions of a vector, the option of taking nothing, i.e., to include empty-partitions. Currently, however, `partitions(s::AbstractVector, m::Int)`...

There's no need to restrict the signature to multi-argument inputs; iterable inputs are arguably more natural. This way, we can avoid splatting if the input is an iterable.