Are you pressed for time and haven’t started working on your assignment yet? Would you like to buy an assignment? Use our custom writing services for better grades. Even if your deadline is approaching fast, our writers can handle your task right when you need it. Our writers will complete your order from scratch and make sure it’s completely unique.
Order a Similar Paper Order a Different Paper
Program the following algorithms that we covered in the class:
a. Classical matrix multiplication
b. Divide-and-conquer matrix multiplication
c. Strassen’s matrix multiplication
In order to obtain more accurate results, the algorithms should be tested with the same matrices of different sizes many times. The total time spent is then divided by the number of times the algorithm is performed to obtain the time taken to solve the given instance. Let the matrix size be n x n. Carry out a complete test of your algorithms with n = 2, 4, 8, 16, 32, 64, 128, 256, â€¦ (up to the largest size of n that your computer can handle)
Write a detailed report together with graphs explaining the data sets, test strategies and explanation of the results. What are the theoretical complexity comparisons of the three algorithms? Is the classical matrix multiplication always faster than the divide-and-conquer matrix multiplication? Conclude your report with the strength and constraints of your work.