convertir el vector STD en la matriz

std::vector<double> v;
double* a = &v[0];
Disgusted Dogfish