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::zero();
|
|
m.col(1).setRandom();
|
|
cout << m << endl;
|