This should work, though I’m unsure if it is efficient:
Iterators.product(eachcol(A)...) |> collect
If you want one tall vector, just pass it into vec
:
Iterators.product(eachcol(A)...) |> collect |> vec
This should work, though I’m unsure if it is efficient:
Iterators.product(eachcol(A)...) |> collect
If you want one tall vector, just pass it into vec
:
Iterators.product(eachcol(A)...) |> collect |> vec