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.