Reputation: 639
I know that matrix addition of matrixes takes n^2 operations, and matrix multiplication takes n^3 operations. Does scalar multiplication of a matrix also take n^3 operations, or is it a different number?
Thanks!
Upvotes: 0
Views: 271
Reputation: 3857
Sounds like you are talking about a square matrix. Let me generalize a bit and lets consider a m x n matrix.
3 x 2 matrix multiplication example
Upvotes: 1