# insert elements of vector in cols of a mat

I have a vector of floats and i want insert the element of this vector in the cols of the Mat. reading the doc doc of opencv says that when I pass a vector like parameter in the MAt constructor, The matrix has a single column and the number of rows equal to the number of vector elements. I want just that the matrix has a single row and the numbers of cols equal to the number of vector elements.

```
vector<float> descriptorsValues;
Mat fm = Mat(descriptorsValues);
```

thanks for the help !!!!!!