Boost logo

Ublas :

Subject: Re: [ublas] [Question] sub-matrix by columns
From: Marcel Rehberg (Marcel.Rehberg_at_[hidden])
Date: 2010-11-24 12:47:01


On Wed, 24 Nov 2010 16:20:03 +0100, Matthias Walter
<xammy_at_[hidden]> wrote:

>
> For my last project I used
>
> boost::numeric::ublas::indirect_array <vector_type>
>
> as an indext type. It is a std::vector-like type without the
> resize-features, IIRC.
>
> Matthias

Thanks, I tried indirect_array before but couldn't get it to work. In the
documentation it says as template parameter use some size_type which of
course fails. Now I figured it all out and it works with indirect_array.

Still the problem with ublas::matrix<size_type> for indexing remains,
especially since it works with ublas::vector<size_type> for
matrix_vector_indirect.

Thanks again

Marcel