|
Ublas : |
From: James Sutherland (James.Sutherland_at_[hidden])
Date: 2008-01-18 16:11:23
Okay, so I didn't read the second link before replying. It appears that the
array_adaptor container will do the job.
Thank you for your help!
James
On 1/18/08 11:31 AM, "Sebastian Gesemann" <s.gesemann_at_[hidden]> wrote:
> 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
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas