is there an efficient for to insert the elements of a 2d array into a vector of vectors?
I have
Code:
vector< vector <int> > Points
for (i = 0; i < n; i++ )
Points.push_back(vector<int>(d));
int Matrix[n][d];
//populate matrix....
//How to load the data in the Matrix into the vector of v.