struct_test.cpp itpp/itbase.h int int main () main #include<itpp/itbase.h> usingnamespaceitpp; //Theselinesareneededforuseofcoutandendl usingstd::cout; usingstd::endl; intmain(){ Real_Timertt; vecexec_times(4); vecexec_times_f(4); inti,j; vecn="100010000100000"; Array<vec>S="{[2][3]}"; for(i=0;i<n.length();i++){ tt.tic(); S(1)(1)=0; for(j=0;j<n(i);j++)S(1)+=1; exec_times(i)=tt.toc(); exec_times_f(i)=tt.toc(); } cout<<exec_times<<endl; cout<<exec_times_f<<endl; it_fileitf("struct_test.it"); itf<<Name("exec_times")<<exec_times; itf<<Name("exec_times_f")<<exec_times; return0; }