Eigen 3.4.90
doc
snippets
Matrix_Map_stride.cpp
Go to the documentation of this file.
1
Matrix4i
A
;
2
A
<< 1, 2, 3, 4,
3
5, 6, 7, 8,
4
9, 10, 11, 12,
5
13, 14, 15, 16;
6
7
std::cout << Matrix2i::Map(&A(1,1),Stride<8,2>()) << std::endl;
A
Matrix4i A
Definition:
Matrix_Map_stride.cpp:1
Eigen::Matrix4i
Matrix< int, 4, 4 > Matrix4i
4×4 matrix of type int.
Definition:
Matrix.h:500