Registered Member
|
Hello,
When using the method image of an FullPivLU object: the columns form a basis of the column space of the original matrix. My questions is the following: does the columns of FullPivLU.image(A) always are some columns of the original matrix A? Thanks a lot. Best, Rafael |
Moderator
|
Yes they are. See the respective code by yourself:
|
Registered Member
|
Great, thank you!
BTW, merci pour cette excellente librairie! |
Registered Member
|
Sorry to ask a question again but I'd like to be sure that I understood correctly.
If I want to know the rank() indices of the columns which are linerarly independant I have to take every i such that lu.permutationQ().indices()[i] < rank() Is it correct? Thanks! |
Moderator
|
not exactly, you have to skip the smallest pivots:
so what you're looking for would be a "imageIndices()" method? |
Registered Member
|
Yes, that's what I need.
Finally, I took the first rank() entries of lu.permutationQ().indices() and sorted them (I need to preserve the order of my vectors). This gives me the indices I want. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]