You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Strassen Matrix Multiplication/README.markdown
+4-4
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ matrix A = |1 2|, matrix B = |5 6|
18
18
A * B = C
19
19
20
20
|1 2| * |5 6| = |1*5+2*7 1*6+2*8| = |19 22|
21
-
|3 4| |7 8| |3*5+4*7 3*6+4*8| |43 48|
21
+
|3 4| |7 8| |3*5+4*7 3*6+4*8| |43 50|
22
22
```
23
23
24
24
What's going on here? To start, we're multiplying matricies A & B. Our new matrix, C's, elements `[i, j]` are determined by the dot product of the first matrix's ith row and the second matrix's jth column. See [here](https://www.khanacademy.org/math/linear-algebra/vectors-and-spaces/dot-cross-products/v/vector-dot-product-and-vector-length) for a refresher on the dot product.
@@ -72,7 +72,7 @@ Then, for each row in A and column in B, we take the dot product of the ith row
0 commit comments