Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2006-05-18 12:55:05


Hi Neal,

On Wednesday, 17. May 2006 20:24, Neal Becker wrote:
> I'd like to wrap some other storage container to use vector operations on
> it. I thought carray_adaptor looked right, but it's not copy
> constructable, so I don't see how I'm supposed to use it:
>
> double A [4];
> ublas::vector<double,ublas::carray_adaptor<double> > v (4, A); <error

carray_adaptor was only experimental. It was in the CVS HEAD for a while but I
could find a good way to turn it into something more useful then the existing
array adaptor.

Have a look at the recent thread "usage of array adaptor" for some
alternatives.

Michael

-- 
___________________________________
Michael Stevens Systems Engineering
34128 Kassel, Germany
Phone/Fax: +49 561 5218038
Navigation Systems, Estimation  and
                 Bayesian Filtering
    http://bayesclasses.sf.net
___________________________________