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 <s...@mit.edu> 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 <s...@mit.edu> wrote: > for i in 1:size(mat, 2) > # do stuff with mat[:, i] > end >