Registered Member
|
I have elements in a MatrixXd that I need to access some elements in very non-sequential order. As it stands, I pass in the full matrix along with a vector of the integer indices I'm interested in and have the function step through those integers, like so:
The index list doesn't have any kind of constant stride or even order, so it might be like 2,9,1084,3,0,12 .... in order to tell the function to access those matrix elements only. Is there any way I can create a map into to the matrix with very specific indices? |
Registered Member
|
Bump... is the silence a "no"?
|
Moderator
|
I missed it, the answer is indeed not yet.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]