mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
4 lines
93 B
C++
4 lines
93 B
C++
int array[9];
|
|
for(int i = 0; i < 9; ++i) array[i] = i;
|
|
cout << Map<Matrix3i>(array) << endl;
|