 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| |
We
can compute C=AB
|
|
|
recursively
by dividing each
|
|
|
matrix
into 4 submatrices
|
|
|
| |
The
submatrices of A and B
|
|
|
can
be multiplied (using 8
|
|
|
multiplies
of matrices of size
|
|
|
n/2)
|
|
|
| |
Resulting
recurrence is
|
|
|
T(n)
= 8T(n/2) + O(n2)
|
|
|
| |
Solution is T(n) =
O(n3)
|
|
|
|
|
| |
Strassen
found a way to use
|
|
just
7 multiplies of matrices
|
|
|
of
size n/2
|
|