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

4 lines
160 B
C++

Matrix4i m = Matrix4i::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is m.reshaped(2, 8):" << endl << m.reshaped(2, 8) << endl;