Jim

report

1 -,jim,satori,21.04.2015 16:50,file:///home/jim/.config/libreoffice/4;  
No preview for this file type
No preview for this file type
@@ -56,11 +56,11 @@ int main(){ @@ -56,11 +56,11 @@ int main(){
56 pthread_create (&tidy, NULL, worker, (void *)&arg); 56 pthread_create (&tidy, NULL, worker, (void *)&arg);
57 57
58 58
59 - arg.in1 = matrix_init (3,3); 59 + arg.in1 = matrix_init (200,200);
60 - arg.in2 = matrix_init (3,3); 60 + arg.in2 = matrix_init (200,200);
61 for(int i=0; i < matrix_get_rows(arg.in1); i++){ 61 for(int i=0; i < matrix_get_rows(arg.in1); i++){
62 for (int j=0; j < matrix_get_columns(arg.in1); j++){ 62 for (int j=0; j < matrix_get_columns(arg.in1); j++){
63 - set(arg.in1, i, j, 2); 63 + set(arg.in1, i, j, i*j);
64 } 64 }
65 } 65 }
66 66
@@ -71,7 +71,7 @@ int main(){ @@ -71,7 +71,7 @@ int main(){
71 n = matrix_get_columns(arg.in2); 71 n = matrix_get_columns(arg.in2);
72 72
73 for(int i=0; i < n; i++){ 73 for(int i=0; i < n; i++){
74 - set(arg.in2, i, i, 2); 74 + set(arg.in2, i, i, 6753.32);
75 } 75 }
76 76
77 77
No preview for this file type
No preview for this file type