Boost logo

Ublas :

From: Elliott Waldron (elliottwaldron_at_[hidden])
Date: 2008-05-06 12:31:21


Are there more general ways to obtain a subvector than with ranges and
slices? - and without making a copy of the data. For example, in Matlab one
can do the following:

inx = [1 4 60];
a = rand(60,1);
b = a(inx);

thanks.