Like for instance here, this might not make any sense due to not being able to see anything else. (Will pm code if needed to understand) Don't want to post all the code tho
What am I doing for the c loop? - Since this is the answer of the A * B matrix
There are 3 matrix, A B C.
Matrix Multiplication is a frequently used operation that takes two matrices A (m x q) and matrix B
(q x n) and produces matrix C (m x n), where cij is the dot product of the ith row of A with the jth
column of B.
Code
/* initialize array A and B */
for( r=0; r<n; r++ ){
for( c=0; c<n; c++ ){
A[r][c] = rand() / (double) RAND_MAX;
// B[r][c] = rand() / (double) RAND_MAX;
} // for c
// printf("%d", );
} // end for r
This post was edited by Trev on Oct 18 2013 03:37pm