
4 Apr
2007
4 Apr
'07
2 p.m.
Hi,
I have a ublas vector (or it can be std::vector also). Where I want to
perform certain operation as a rotating basis.
The program below illustrates it.
std::vector<int> v;
v+=1,2,3,4,5,6,7,8,9;
ublas::vector<int> v1(v.size());
std::copy(v.begin(),v.end(),v1.begin());
std::cout<