Personally, I always use your first option:
for i in 1:size(mat, 2)
# do stuff with mat[:, i]
end-- John On Feb 10, 2014, at 6:18 PM, Spencer Russell <[email protected]> wrote: > for i in 1:size(mat, 2) > # do stuff with mat[:, i] > end >
Personally, I always use your first option:
for i in 1:size(mat, 2)
# do stuff with mat[:, i]
end-- John On Feb 10, 2014, at 6:18 PM, Spencer Russell <[email protected]> wrote: > for i in 1:size(mat, 2) > # do stuff with mat[:, i] > end >