mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +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;
|