mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 01:59:38 +08:00
4 lines
85 B
C++
4 lines
85 B
C++
Matrix4i m = Matrix4i::Zero();
|
|
m.block<3, 3>(1, 0).setIdentity();
|
|
cout << m << endl;
|