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;
Matrix< float, Dynamic, Dynamic > MatrixXf
Dynamic×Dynamic matrix of type float.
Definition: Matrix.h:501