Boost logo

Ublas :

From: Sebastian Gesemann (s.gesemann_at_[hidden])
Date: 2008-01-18 13:31:20


On Jan 18, 2008 7:07 PM, James Sutherland <James.Sutherland_at_[hidden]> wrote:
> In other words, I want to manage the memory externally but use ublas to
> "view" the memory as a ublas vector that I can use with ublas matrices,
> other vectors, etc. I must avoid memory copies for efficiency reasons.

Doesn't ublas support custom storage classes?
See
http://www.boost.org/libs/numeric/ublas/doc/storage_concept.htm

This might also be of interest to you:
http://www.boost.org/libs/numeric/ublas/doc/array_adaptor.htm

HTH,
Sebastian