Converting a matrix into an array of arrays

A one liner, likely not as efficient as the suggestion above, is
mapslices(x->[x], randn(5,5), dims=2)[:]

3 Likes