Registered Member
|
Hi everyone,
I loaded a 3D matrix by the following codes in C++:
my example.txt is as: 27 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 I want to select the inner part of this 3D matrix by Eigen but I do not how I should use, can anyone help me? |
Moderator
|
What do you mean by inner part? a 2D slice? Anyway, I think Map is what you are looking for:
http://eigen.tuxfamily.org/dox-devel/cl ... _1Map.html |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]