*/
// sleep(2);
- float toto=0.001
+ float toto=0.001;
auto start = std::chrono::system_clock::now();
- matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,&toto);
+ for(int i=0;i<1000;i++) {
+ matC=matrix_multiply(&gf, matG, matS, n, t, t, len, w,&toto);
+ }
auto end = std::chrono::system_clock::now();
std::chrono::duration<double> elapsed_seconds = end-start;
total_time+=elapsed_seconds.count();
-// cout << "elapsed time: " << elapsed_seconds.count() << "s\n";
+ cout << "elapsed time: " << elapsed_seconds.count() << "s ";
// display(matC,t,t);
// sleep(2);
start = std::chrono::system_clock::now();
- float toto=0.001;
+ toto=0.001;
for(int i=0;i<1000;i++) {
matS2=matrix_multiply(&gf, matInvGs, matCs, t, t, t, len, w, &toto);