converter vetor de std em matriz
std::vector<double> v;
double* a = &v[0];
Disgusted Dogfish
std::vector<double> v;
double* a = &v[0];