mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
6 lines
164 B
C++
6 lines
164 B
C++
|
int array[24];
|
||
|
for(int i = 0; i < 24; ++i) array[i] = i;
|
||
|
cout << Map<MatrixXi, 0, Stride<Dynamic,2> >
|
||
|
(array, 3, 3, Stride<Dynamic,2>(8, 2))
|
||
|
<< endl;
|