Boost logo

Glas :

Re: [glas] dense and sparse vectors

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-08-01 09:43:03

On Monday 01 August 2005 9:23 am, Toon Knapen wrote:
> Hi all,
> Peter Gottschling recently proposed a design for the mathematical
> concepts. This is probably rather theoretical but is of course of utmost
> importance for a LA library. These concepts are probably easier to
> digest once we start using them.
> So therefore it's probably time to start introducing some basic
> containers. One of the most important goals of GLAS IMHO is having a
> generic interface for dense and sparse operations. So therefore I would
> like to propose following dense and sparse concepts:
> The first family of concepts are the Collections (see
> The
> first member of this family is the Collection itself which basically
> defines element-access functionality.

I have not followed the details of this discussion. I wonder, though, if the
use of "range" was considered as an interface, rather than stl-style
iterators. I have been making extensive use of boost::range for all my
container needs, and have found it to be more useful than iterators.