Question

Which describes the best usage of Strassen's matrix multiplication algorithms relative to the traditional algorithm (e.g....

Which describes the best usage of Strassen's matrix multiplication algorithms relative to the traditional algorithm (e.g. taught in Linear Algebra) where the matrices to be multiplied are n x n? explain

A

Use the traditional algorithm for all sizes of n

B

Use Strassen's algorithm for all sizes of n

C

Use Strassen's algorithm for small n and the traditional algorithm for large n

D

Use Strassen's algorithm for large n and the traditional algorithm for small n

E

Use Strassen's algorithm for large n but when the sub-problems get small switch to the traditional algorithm

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

Strassen's algorithm:

This is named after volker strassen who found it.

This algorithm is faster than the traditional and standard matrix multiplication algorithm.

It can be used for calculations in large matrices.

The performance of strassen algorithm is faster when compared to traditional algorithm when matrix is large.

The strassen algorithm is slower for smaller matrices.

Answer:

The option is D.

The performance can be good when we use strassen algorithm for large n and traditional algorithm for small n.

Add a comment
Know the answer?
Add Answer to:
Which describes the best usage of Strassen's matrix multiplication algorithms relative to the traditional algorithm (e.g....
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
  • ** Use Java programming language Program the following algorithms in JAVA: A. Classical matrix multiplication B....

    ** Use Java programming language Program the following algorithms in JAVA: A. Classical matrix multiplication B. Divide-and-conquer 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. For example, you randomly generate 1000 sets of input data for size_of_n=16. For each...

  • 1. Time Complexity of Kruskal's Algorithm Which best describes the relative time complexities of the pre-sorting...

    1. Time Complexity of Kruskal's Algorithm Which best describes the relative time complexities of the pre-sorting and main parts of algorithm? A) The time to pre-sort dominates B) The main part dominates C) The relationship depends on the sort and disjoint-set operations being used D) Kruskal's algorithm doesn't use pre-sorting 2. Kruskal's Algorithm: Disjoint Set Operations What are the number of calls to the respective disjoint set operations in Kruskal's Algorithm? A) MAKE-SET O(V), FIND O(V), UNION (V) B) MAKE-SET...

  • Write programs implementing matrix multiplication C = AB , where A is m x n and...

    Write programs implementing matrix multiplication C = AB , where A is m x n and B is n x k , in two different ways: ( a ) Compute the mk inner products of rows of A with columns of B , ( b ) Form each column of C as a linear combination of columns of A . Compare the performance of these two implementations on your computer. You may need to try fairly large matrices before the...

  • Question A matrix of dimensions m × n (an m-by-n matrix) is an ordered collection of m × n elemen...

    Question A matrix of dimensions m × n (an m-by-n matrix) is an ordered collection of m × n elements. which are called eernents (or components). The elements of an (m × n)-dimensional matrix A are denoted as a,, where 1im and1 S, symbolically, written as, A-a(1,1) S (i.j) S(m, ). Written in the familiar notation: 01,1 am Gm,n A3×3matrix The horizontal and vertical lines of entries in a matrix are called rows and columns, respectively A matrix with the...

  • 1) Write a script(in Bash shell) that characterizes the application performance. Specifically, your script should automatically...

    1) Write a script(in Bash shell) that characterizes the application performance. Specifically, your script should automatically test both algorithms of the matrix math program for each of the array sizes shown in Table. Also, extend your script to automatically parse the output of the program. Table (Array Sizes in Test Suite) Algorithm 1 Algorithm 2 256 256 512 512 768 768 1024 1024 1280 1280 1536 1536 1792 1792 2048 2048 C source file // Adapted from https://gustavus.edu/+max/courses/F2011/MCS-284/labs/lab3/ // Max...

  • Can you help me with this question please? For the code, please do it on MATLAB. Thanks

    Can you help me with this question please? For the code, please do it on MATLAB. Thanks 7. Bonus [3+3+4pts] Before answering this question, read the Google page rank article on Pi- azza in the 'General Resources' section. The Google page rank algorithm has a lot to do with the eigenvector corresponding to the largest eigenvalue of a so-called stochastic matrix, which describes the links between websites.2 Stochastic matrices have non-negative entries and each column sums to1, and one can...

  • 1 1 point Consider the following algorithm for factoring an integer N provided as input (in...

    1 1 point Consider the following algorithm for factoring an integer N provided as input (in binary): For i = 2 to [VN.17 i divides N, then output (i, N/). Which of the following statements is true? This algorithm is correct, but it runs in exponential time. This algorithm is not correct, because it will sometimes fail to find a factorization of Neven if N is composite This algorithm runs in sub-linear time, and always factors N it Nis composite...

  • Linear Algebra The question is actually on the third picture, i’m not sure if the information...

    Linear Algebra The question is actually on the third picture, i’m not sure if the information on picture 1 and 2 is supposed to help with the problem. Please complete Q9. You may need information from Q7. Please clearly label a b. Total 2 questions. Please complete Q 9. Some problems in genetics can be solved using Markov chains. For example, if we know the genotype distribution of the present generation, call it xo, we can use the transition matrix...

  • 1.) Describe the goals of a Gel Filtration Chromotography Experiment??? 2.) Explain each key theoretical principle...

    1.) Describe the goals of a Gel Filtration Chromotography Experiment??? 2.) Explain each key theoretical principle of a Gel Filtration Chromotography, and how they help acheive the goal???. 4.) Explain the key equations used in the Gel Filtration Chromotography experiment and the terms involved in the equation???? HI im trying to prepare for a lab/report and i have some questions i could use help with please :) over all having trouble seeing how everything ties together etc :) thank you...

  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

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