Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void multiplyVersion2(float**m1, float**m2, int n, float**m3, int bool) {
- printf("Multiplikation Variante 2 beginnt jetzt.\n");
- int zeile, i,spalte;
- float currentM1Value;
- for (zeile = 0; zeile < n; zeile++) {
- if (bool) {
- giveUpdate(zeile, n);
- }
- for(i=0; i< n ; i++){
- }
- for(spalte=0; spalte<n;spalte++){
- currentM1Value=m1[zeile][spalte];
- for(i=0 ; i<n ;i++){
- m3[zeile][i]+=currentM1Value*m2[spalte][i];
- //printf("tempProduct[%d] %f \n",i,tempProduct[i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement