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; 5