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?  

Thanks,
Jeremy