Boost logo

Ublas :

Subject: Re: [ublas] size1 and size2
From: er (erwann.rogard_at_[hidden])
Date: 2009-09-13 17:46:33

> maybe we start with:
> miter = begin<tag::major>(MAT);
> subiter = begin<tag::minor>(miter);

Hi All,

Some of the data-structures I use often are vector of vectors.

What would be required (and that I desire) so I can use ublas without
changing my code is to overload the functionality of boost/range.hpp as

miter = boost::begin(MAT); // calls begin<tag::major>(MAT);
subiter = boost::begin(*miter); // calls begin<tag::minor>(miter);

Does that seem feasible, reasonable?

Thanks for giving it a thought, if your time permits it.