#include #include // timing #include // sqrt() #include // atoi() #include // strncmp() #include #include #include #include #include using namespace std; using namespace std::chrono; // timing int main() { unsigned int n= 10; unsigned int nhrs = 1; vector M(n*n,4.0); for(unsigned int i=0; i ipiv(n); //pivots LAPACKE_dgetrf(LAPACK_ROW_MAJOR,n,n, M.data(),n,ipiv.data()); //M=PLU unsigned int runtimes[] = {1,2,4,8,16,32}; for(unsigned int i=0; i < 6;i++) { nhrs = runtimes[i]; vector b(n*nhrs,0.0); for (unsigned int j=0; j