Question

Question #4 (15 points) In class, we discussed a divide-and-conquer algorithm for matrix multiplication that involved solving
0 0
Add a comment Improve this question Transcribed image text
Answer #1

well the divide and conquer approach for matrix multiplication is as-

• Let X and Y be nxn matrices 211 212 ... in 221 222 .. in X = 3 31 32 . Tin nl xn2 .. Inn . We want to compute Z = XY - Zij

the strassen algo and its complexity is as-

Strassen observed the following: SA B E F S 2=CD) (GH) where (S1 + S2 - S4 +) (S&+S4) (54 +55) (S2 + S3 + S5 - S-) ) S2 = (B-

(n) This leads to a divide-and-conquer algorithm with running time T(n) = 7T (n/2) + - We only need to perform 7 multiplicati- Now we have the following: zlogn = 710872 (7log, n) (1/log, 2) = n(1/log, 2) log27 = = n log22 plog 7 - Or in general: glog

Add a comment
Know the answer?
Add Answer to:
Question #4 (15 points) In class, we discussed a divide-and-conquer algorithm for matrix multiplication that involved...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT