Question: Let x , y in Rm and let k be a positive integer. Describe an ecient algorithm to compute the matrix C = ( xyT

Let x, y in Rm and let k be a positive
integer. Describe an ecient algorithm to compute the matrix C =(xyT)k. Note that
if you simply form xyT and take its kth power, the computational cost will be in the
order of k m3 since xyT is an m \times m matrix. Your algorithm should avoid this m3
computational complexity. What is the computational complexity of your algorithm?
Hint: The computational cost of A + B for A, B in Rm\times n is mn, of \alpha A for \alpha in R and
A in Rm\times n is mn, and of AB for A in Rm\times n and B in Rn\times k is in the order of mnk.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!