I have an std matrix defined as: 

```
std::vector<std::vector<double> > Qe(6,std::vector<double>(6));

```

and a vector v that is: 

```
v{0, 1, 3, 2, 4, 5};

```

I would like to swap the columns 3 and 2 of matrix Qe like indicated in vector v.

In Matlab this is as easy as writing `Qe=Qe(:,v);`

I wonder if there is an easy way other than a for loop to do this in c++.

Thanks in advance.