Question

Compute the approximate number of basic arithmetic operations required to do the following operations. Explain your...

Compute the approximate number of basic arithmetic operations required to do the following operations. Explain your thinking in each case. 1. Compute the dot product of two vectors in R n . 2. Compute Ax for A ∈ R m×n and x ∈ R n . 3. Compute kAxk2 for A ∈ R m×n and x ∈ R n . 4. Compute AB for A ∈ R m×n and B ∈ R n×k . 5. Compute the QR factorization of A in R m×n . 6. Solve Rx = b where R ∈ R n×n is upper triangular.

Homework Answers

Answer #1

1)dot product of two vectors x belongs to Rn

will require n multiplications and n-1 additions

total 2n-1 basic arithematic operations

2)Scalar multiplication of matrix m*n

each element in matrix need to be multiplied by scalar

= no of elements in matrix , multiplications are required

=mn

3)Ax requires m(2n-1),

as each row in A requires n multiplications and n-1 additions

and there are m rows , so total basic arithematic operations are m(2n-1)

4)AB , A is m*n and B is n*k

let AB = C , C will be m*k

for getting each element of c we need to do n multiplications and n-1 additions = 2n-1 operations

As there are mk elements in C , total operations are mk(2n-1)

Know the answer?
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
Similar Questions
BridgeRock is a major manufacturer of tires in the U.S.. The company had five manufacturing facilities...
BridgeRock is a major manufacturer of tires in the U.S.. The company had five manufacturing facilities where tires were made and another 20 facilities for various components and materials used in tires. Each manufacturing facility produced 10,000 tires every hour. Quality had always been emphasized at BridgeRock, but lately quality was a bigger issue because of recent fatal accidents involving tires made by other manufacturers due to tread separation. All tire manufacturers were under pressure to ensure problems did not...
1. What is an ISP (Integrated Service Provider) for supply chains? (1 point) A. A consultant...
1. What is an ISP (Integrated Service Provider) for supply chains? (1 point) A. A consultant agency which integrates the supply chain for companies B. A 2 PL or a 3PL, but not a 4PL C. A company supplying transportation and warehousing services D. A logistics service company specialized in suppling VAS (value added services) 2. What characterizes a 4 PL? (1 point) A. They are non-asset based and provides integrated services primarily supplied by asset based providers, for example...
Plagiarism Certification Tests for Undergraduate College Students and Advanced High School Students These tests are intended...
Plagiarism Certification Tests for Undergraduate College Students and Advanced High School Students These tests are intended for undergraduate students in college or those under 18 years of age. Read these directions carefully! The below test includes 10 questions, randomly selected from a large inventory. Most questions will be different each time you take the test, You must answer at least 9 out of 10 questions correctly to receive your Certificate. You have 40 minutes to complete each test, and you...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...