Hello,
Say I have three input arrays like the ones below (could be arbitrary amount) and I want to generate all possible combinations of values with one entry from each array. The existing functions in Combinatorics.jl only work with one array (e.g. [:a, 1, “hi”], [:a,1,“bye”], [:a,2,“hi”]). If I knew I would always have three arrays I could just loop but I do not know beforehand if I will have 2 or 3 or 4 etc arrays to generate combinations from. Is there any way to do this that I’m just missing or some package I don’t know of?
Thanks!
letters = [:a, :b, :c]
numbers = [1,2,3]
other = ["hi", "bye"]