Jump to content

help with sum of rank-1 matrices

Featured Replies

Need help on a problem and I think there's some notation issues I'm having:

 

[math] A=\sum _{i}^{r}\lambda _{i}\bold{u_{i}v_{i}}^{T} [/math]

where A is a nxr matrix with (left and right) singular vectors v_1... v_r, u_1...u_r

& lambda are singular values

 

How does summation work in this case? Each product of rank-1 matrices results in a vector which, when summed, should result in a vector. But A is a matrix, so I feel like I must be missing something very simple about matrix addition.

 

:blink:

  • Author

The product "uv^T" gives an r x r matrix. You then have a sum of lamdas times that r x r matrix. Distribute the matrix over the sum of lamdas. I'll LaTeX the matrix out explicity if you neef further clarification.

 

Ah now its obvious. I was performing this calculation in R... apparently, a single column/row subset of a matrix in R is treated as a vector, not a single-entry matrix. So the transpose operation failed. Hence the confusion.

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.