Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost MultiArray and Boost uBLAS - Designed to be used together?
From: Bilokon, Paul (paul.bilokon_at_[hidden])
Date: 2010-01-18 12:30:32


Many thanks, Rhys,

I'll also forward this email to the ublas mailing list.

(The question, of course, is the effect of these adapters on performance. However, I trust most of the overhead is compile-time?)

Best wishes,
Paul

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Rhys Ulerich
Sent: 18 January 2010 15:20
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Boost MultiArray and Boost uBLAS - Designed to be used together?

> 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 mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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