subject
Engineering, 05.05.2020 08:50 20jhutchinson

The conventional way of multiplying two n-by-n matrices requires O(n3) time. There are much better ways of multiplying large matrices, bascd on a dividc-and-conquer approach. For example, Strassen's algorithm breaks cach n-by-n matrix into four submatrices of sizc n/2- by-n/2 each, and computes the result by performing 7 recursive multiplications on n/2-by-n/2 matrices plus a constant number of additions of n/2-by-n/2 matrices. Since addition of n-by-n matrices only requires O(n2) time, you get a recurrence for the running time of T(n) = 7T(n/2) + cn2 for some constant c (which, asymptotically, doesn't matter). Hypothetically, we can beat Strassen's approach if we can break our two n-by-n matrices into y2 submatrices of size n/y-by-n/y cach, and perform the multiplication of n-by-n matrices by using x recursive multiplications of n/y-by-n/y matrices plus any constant number of additions of n/y-by-n/y matrices. What is the relationship between x and y that would make this hypothetical algorithm have a lower running time than Strassen's algorithm? Identify one such pair below. Note, because the exact calculation requires the computation of logarithms, you may wish to find and use a scientific calculator of some sort. x=344: y-8. x=153; y=6.none of above

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
question
Engineering, 04.07.2019 19:10
What are the major differences between injection molding and extrusion?
Answers: 2
question
Engineering, 04.07.2019 19:10
The short distance from the objective lens to the object causes problems at high magnification. which of the following is the most serious? a. cleaning the object surface b. positioning the object c. reflection from the object surface. d. illumination of the object
Answers: 1
question
Engineering, 04.07.2019 19:10
The maximum shear stress and maximum flexural stress occur at the same location along a beam subjected to a non-uniform bending load. a)-trune b)- false
Answers: 2
You know the right answer?
The conventional way of multiplying two n-by-n matrices requires O(n3) time. There are much better w...
Questions
question
Mathematics, 02.08.2019 11:20
question
Mathematics, 02.08.2019 11:20
Questions on the website: 13722361