mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
-add set...() methods and their documentation; remove Generic
-use row-major traversal when the number of columns is fixed and the number of rows is dynamic -other minor changes
This commit is contained in:
3
doc/snippets/MatrixBase_setOnes.cpp
Normal file
3
doc/snippets/MatrixBase_setOnes.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
Matrix4i m = Matrix4i::random();
|
||||
m.row(1).setOnes();
|
||||
cout << m << endl;
|
||||
Reference in New Issue
Block a user