Boost logo

Ublas :

From: e r (erwann.rogard_at_[hidden])
Date: 2007-08-07 09:55:08


hi all,

i'm wondering how/if i can create vector proxies of a const vector e.g.

typedef boost::numeric::ublas::vector<double> vector_double;
typedef boost::numeric::ublas::range range;
typedef boost::numeric::ublas::vector_range<vector_double > vector_range;

vector_double orig(6);
const vector_double& copy = orig;
vector_range vr1(orig,range(0,1));
vector_range vr2(copy,range(0,1));//error: no matching function

thanks much!

e.