Combinations


#1

Hi,

Is there a simple way to get all the combinations of a an array for a selected elements?

Thanks


#2

IterTools.jl has a lot of tools for this, e.g.,
https://juliacollections.github.io/IterTools.jl/stable/#subsets(xs,-[k])-1


#3

yeah it serves the purpose well,
thanks a lot!!