
7 Apr
2011
7 Apr
'11
1:19 p.m.
On Mon, Apr 4, 2011 at 1:06 PM, Virili
Hi to all, I'm trying to have a vector (for example a row or a column) from a matrix. like in Matlab : my_column_vector = my_matrix(:,3) or my_row_vector = my_matrix(1,:); I know that it will be a stupid thing, but can you post a reference or a pseudo code??
Thanks!!
If you are using Boost uBLAS then these two links should help. They are what I use if I have to access a row or column from my matrix. http://www.boost.org/doc/libs/1_46_1/libs/numeric/ublas/doc/matrix_proxy.htm... http://www.boost.org/doc/libs/1_46_1/libs/numeric/ublas/doc/matrix_proxy.htm... Ryan