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 or .reset
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 in:
http://groups.google.com/group/boostusers/browse_thread/thread/b507917fc21181b0
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?
Thanks!
_______________________________________________
ublas mailing list
ublas@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/ublas
Sent to: jesseperla@gmail.com