Files
Polyhedron/external/eigen-3.4.0/doc/snippets/Tutorial_AdvancedInitialization_CommaTemporary.cpp
Efim Beshmenev 7f9dc067a1 Initial commit
2026-07-10 19:16:42 +03:00

5 lines
168 B
C++

MatrixXf mat = MatrixXf::Random(2, 3);
std::cout << mat << std::endl << std::endl;
mat = (MatrixXf(2,2) << 0, 1, 1, 0).finished() * mat;
std::cout << mat << std::endl;