mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-24 02:29:33 +08:00

- make vectors use a separate loop unroller, so that copying a row-vector into a col-vector is now possible - add much more documentation - misc improvements
4 lines
114 B
C++
4 lines
114 B
C++
Matrix4d m = Matrix4d::diagonal(Vector4d(1,2,3,4));
|
|
m.block<2, 2>(2, 0) = m.block<2, 2>(2, 2);
|
|
cout << m << endl;
|