Matrices and Relations

2007-04-03 9:54 am
A,B and C are matrices of 30*40, 40*50 and 50*20 respectively. If the product ABC is calculated as A(BC), find the number of multiplications required; and the number of additions required.

回答 (1)

2007-04-03 8:09 pm
✔ 最佳答案
A,B and C are matrices of 30*40, 40*50 and 50*20 respectively. If the product ABC is calculated as A(BC), find the number of multiplications required; and the number of additions required.
Consider BC, the size is 40*20. Total 800 elements
each element is calculated by using 50 multiplications and 49 additions
Consider A(BC), the size is 30*20. Total 600 elements
each element is calculated by using 40 multiplications and 39 additions
The number of multiplications required is
800*50+600*40=64000
The number of additions required is
800*49+600*39=62600


收錄日期: 2021-04-12 21:38:01
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070403000051KK00270

檢視 Wayback Machine 備份