From: Jeremy Conlin (jeremit0_at_[hidden])
Date: 2008-06-09 14:07:28
I'm trying to figure out how to iterate over the columns or rows of a
ublas::matrix and I'm having trouble understand the documentation. There
seems to be many things that may be what I want, i.e. row, matrix_row,
column/row iterator, but it's difficult to know which one gives what I want.
I have tried several options, but none seem to fit.
I want to iterate over the rows of a matrix so I can normalize them as
row = row/ublas::norm_2(row);
What is the best way to do this?