Boost logo

Ublas :

From: Andreas Klöckner (lists_at_[hidden])
Date: 2008-04-24 10:50:30


On Donnerstag 24 April 2008, Giuseppe Bilotta wrote:
> I have a class (aptly named grid) that represents a grid of
> D-dimensional points. These points are ordered
> (lexicographically), and therefore I hold them in a vector
> of points.

Maybe you could point boost multiarray at the raw memory of your vector?
http://www.boost.org/doc/libs/1_35_0/libs/multi_array/doc/user.html

Andreas