Math, asked by bsaiuttejteja386, 1 year ago

What is time complexity to multiply matrix a with m x p matrix b?

Answers

Answered by Anonymous
1
The fastest known matrix multiplication algorithm is Coppersmith-Winograd algorithm with a complexity of O(n2.3737). Unless the matrix is huge, these algorithms do not result in a vast difference in computation time. In practice, it is easier and faster to use parallel algorithms for matrix multiplication.
Answered by princeameta2882007
50

Step-by-step explanation:

The standard way of multiplying an m-by-n matrix by an n-by-p matrix has complexity O(mnp). If all of those are "n" to you, it's O(n^3), not O(n^2).

Similar questions