mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
e092cbc75c
-use row-major traversal when the number of columns is fixed and the number of rows is dynamic -other minor changes
4 lines
72 B
C++
4 lines
72 B
C++
Matrix4i m = Matrix4i::random();
|
|
m.row(1).setOnes();
|
|
cout << m << endl;
|