Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double* addizione(double *matrice1, double *matrice2, int riga1, int colonna1, int riga2, int colonna2)
- {
- unsigned int i=0;
- unsigned int j=0;
- for(i;i<riga1; i++)
- {
- for(j; j<colonna1; j++)
- {
- matrice1[i][j]+=matrice2[i][j]; // *(matrice1+i)+j += *(matrice2+i)+j
- }
- }
- return matrice1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement