Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-06-11 14:45:42


----- Original Message -----
From: "Jeremy Siek" <jsiek_at_[hidden]>

> We don't have to force different abstraction levels into one interface...
> that would be quite unnatural. Instead we need several interfaces, one for
> each abstraction level. The interfaces will be similar is some respects
> (iterators will play a role in each) but there will also be differences.
> For example, the "row()" and "column()" functions are important for the
> matrix layer, but not for the array layer.

Could you really think of the a sparse matrix's compressed storage as an
"array" in those cases where you don't need to know the indexes because they
are precomputed? Remember that the number of elements per row/column will
not be consistent.

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk