How many iterating statements are involved in the naïve method of matrix multiplication?

Huyền Thu

New member
How many iterating statements are involved in the naïve method of matrix multiplication?
A. 1
B. 2
C. 3
D. 4
 
Answer: c
Explanation: In the naïve method of matrix multiplication the number of iterating statements involved are 3, because of the presence of rows and columns in a matrix. The element in each row of the first matrix is multiplied with each element in the column of the second matrix.
 

Tìm kiếm

Back
Top