Hi,
Is there a simple way to get all the combinations of a an array for a selected elements?
Thanks
Hi,
Is there a simple way to get all the combinations of a an array for a selected elements?
Thanks
IterTools.jl has a lot of tools for this, e.g.,
https://juliacollections.github.io/IterTools.jl/stable/#subsets(xs,-[k])-1
yeah it serves the purpose well,
thanks a lot!!