Boost logo

Boost Users :

Subject: Re: [Boost-users] from matrix to vectors
From: Ryan (mccorywork_at_[hidden])
Date: 2011-04-07 09:19:06

On Mon, Apr 4, 2011 at 1:06 PM, Virili <virili.v_at_[hidden]> wrote:

> 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.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at