mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
ec07c4109d
able to simply write OuterStride<> instead of OuterStride<Dynamic>
4 lines
138 B
C++
4 lines
138 B
C++
int array[12];
|
|
for(int i = 0; i < 12; ++i) array[i] = i;
|
|
cout << Map<MatrixXi, 0, OuterStride<> >(array, 3, 3, OuterStride<>(4)) << endl;
|