Eigen 3.4.90
doc
snippets
Tutorial_AdvancedInitialization_CommaTemporary.cpp
Go to the documentation of this file.
1
MatrixXf
mat
= MatrixXf::Random(2, 3);
2
std::cout <<
mat
<< std::endl << std::endl;
3
mat
= (
MatrixXf
(2,2) << 0, 1, 1, 0).finished() *
mat
;
4
std::cout <<
mat
<< std::endl;
mat
MatrixXf mat
Definition:
Tutorial_AdvancedInitialization_CommaTemporary.cpp:1
Eigen::MatrixXf
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.
Definition:
Matrix.h:501