Good afternoon,
I wish to use collect(Iterators.product(iter, ...)) but I need the input to be adaptive. For example suppose n=2, then I want the code to run
iter = 0:3
collect(Iterators.product(iter, iter))
and if n=5, then
iter = 0:3
collect(Iterators.product(iter, iter, iter, iter, iter))
I tried to use different things, for instance repeat, but nothing worked. Any suggestions ?
Thank you very much for your help! ![]()