Grid of all elements of an arbitrarily sized matrix

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
2 Likes