Question: But how many matrix multiplications does it take to compute Xn ? ( b ) Show that O ( log n ) matrix multiplications suffice
But how many matrix multiplications does it take to compute Xn
b Show that Olog n matrix multiplications suffice for computing XnHint: Think about
computing X
Thus the number of arithmetic operations needed by our matrixbased algorithm, call it fib is
just Olog n as compared to On for fib Have we broken another exponential barrier?
The catch is that our new algorithm involves multiplication, not just addition; and multiplications of large numbers are slower than additions. We have already seen that, when the complexity of arithmetic operations is taken into account, the running time of fib becomes On
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
