Files
FastDeploy/third_party/eigen/doc/snippets/Tutorial_commainit_01b.cpp
Jack Zhou 355382ad63 Move eigen to third party (#282)
* remove useless statement

* Add eigen to third_party dir

* remove reducdant lines
2022-09-26 19:24:02 +08:00

6 lines
110 B
C++

Matrix3f m;
m.row(0) << 1, 2, 3;
m.block(1, 0, 2, 2) << 4, 5, 7, 8;
m.col(2).tail(2) << 6, 9;
std::cout << m;