Boost logo

Ublas :

From: Langeland, Stian (GE Healthcare) (Stian.Langeland_at_[hidden])
Date: 2007-05-29 03:46:29


I have been trying to create a vector of 3 elements (a point) without
the size element stored in the object. The reason for this is that I
need to be able to have all the elements consecutive in memory when
gathering several points in a std::vector. In this way all points in the
std::vector can be uploaded to a graphics card using a single memcopy.
Can this be acheived using ublas? I have not been able to find a way.