Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost MultiArray and Boost uBLAS - Designed to be used together?
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2010-01-18 10:19:32


> Is it perhaps the case that Boost MultiArray wasn't designed (or optimised) for numerical calculations?
>
> ...
>
> My guess is that the lack of integration with ublas is the usual
> problem of libraries working in silos, and a (relative) lack of new
> ublas features in the last few years.

There are probably some stride-related gotchas involved in using
shallow_array_adaptors to wrap 1 and 2 dimensional MultiArray
implementations. I believe MultiArray concepts/views can handle a
more general stride specification than uBlas matrix and vector types
may be able to. In particular, the MultiArray 2D storage ordering
semantics are not encoded in types the way that uBlas has them. Not
insurmountable, just something to be aware of.

- Rhys


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net