Boost logo

Boost :

From: Andreas Harnack (ah.boost.04_at_[hidden])
Date: 2007-12-06 16:56:10


Larry Evans schrieb:
> What's the advantage of this over the specialization of multi_array:
>
> http://www.boost.org/libs/multi_array/doc/reference.html
>
> to just 2 dimensions?

I might have missed something, but I couldn't find any matrix
operations in the multi_array class?!

Further, a MultiArray 'defines an interface to hierarchically
nested containers'. A matrix is neither really nested nor am I
too happy with the way of viewing a matrix primarily as a
container. Technically, of course, it is, but for the
applications I have in mind it's more important what you can do
with a matrix as a whole (like adding, multiplying with a scalar
etc.) rather than their internal structure. That's one reason
there are no iterators defined yet. They will be important at
some point for people who want to implement algorithms over
matrices (or operators for combining matrices with other types
like vectors), but for now I think the focus should be on
operations over matrices as a whole.

Andreas


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