Subject: Re: [ublas] STL container of matrix_range<matrix<double> >
From: Jesse Perla (jesseperla_at_[hidden])
Date: 2009-07-17 09:42:23
I believe the only solution is a vector of (shared) pointers. You could
iterate through the sub matrices and add them to the vector with push_back
Also note that with a smart pointer, you can still easily use bind to
execute STL algorithms on the collection/member functions. See the example
On Fri, Jul 17, 2009 at 8:38 AM, Michael Norel <minorlogic_at_[hidden]> wrote:
> Hi All!
> I want to create STL collection of "sub matrices" of one bigger matrix.
> I tried the "matrix_range<matrix<double> >" but the matrix_range object
> don't have default constructor.
> Please recomend me how to create mapping to data in such case?
> ublas mailing list
> Sent to: jesseperla_at_[hidden]