If A is a matrix of order m×n and B is a matrix of order n×p, then the number of multiplications required to compute AB is:
If A is a matrix of order m×n and B is a matrix of order n×p, then the number of multiplications required to compute AB is:
- A. m × n × p
- B. m × p
- C. n × p
- D. m × n
Answer: A) m × n × p
Explanation: Each of the m×p entries of AB requires n multiplications (and n−1 additions). So total multiplications = m × n × p.
0 Answers
Log in to post your own answer or join the discussion.
No comments yet — start the discussion.