mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
- rework the coefficients API
- 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
This commit is contained in:
3
doc/snippets/MatrixBase_block.cpp
Normal file
3
doc/snippets/MatrixBase_block.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
Matrix4d m = Matrix4d::diagonal(Vector4d(1,2,3,4));
|
||||
m.block<2, 2>(2, 0) = m.block<2, 2>(2, 2);
|
||||
cout << m << endl;
|
||||
Reference in New Issue
Block a user