Eigen 3.4.90
doc
snippets
Tutorial_commainit_01b.cpp
Go to the documentation of this file.
1
Matrix3f
m
;
2
m
.row(0) << 1, 2, 3;
3
m
.block(1,0,2,2) << 4, 5, 7, 8;
4
m
.col(2).tail(2) << 6, 9;
5
std::cout <<
m
;
m
Matrix3f m
Definition:
Tutorial_commainit_01b.cpp:1
Eigen::Matrix3f
Matrix< float, 3, 3 > Matrix3f
3×3 matrix of type float.
Definition:
Matrix.h:501