This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Low Rank/Projection Matrices/Operators

Tags: None
(comma "," separated)
patricks
Registered Member
Posts
2
Karma
0
Hello -

I'm interested in working with low-rank matrices, specifically projection operators which look like outer products p * p^T . My system is sparse, so what I really need is a matrix object to represent a rank-1 (or sum of rank-1) matrices. Does such a thing exist in Eigen? Is there another strategy to project a Vector onto some subspace? Any experience other users have had would be helpful!
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
I think that there is already a thread on that topic.

In short, you can simply explicitely write 8p * p.transpose()) * v to apply it. To make it more convenient, you might emcapsulate it into a wrapper structure storing the matrix p, with the appropriate operator* overloads.
patricks
Registered Member
Posts
2
Karma
0
Thanks - that is what I ended up doing, and sorry I didn't search the archives hard enough. I figured if there was a built in capability it might be faster than my homebrew operator!


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]