I find myself frequently wanting to do something like:

mat = rand(100,4)
for c in columns(mat)
    # c is a vector (a view maybe?)
end

I think ideally this method would return a lazy iterator which returns a
`view(mat, :, i)` at each step.  Does this exist already?  If not, would it
be welcomed in Base?

-Tom

Reply via email to