eigen/doc/snippets/MatrixBase_reshaped_int_int.cpp
Gael Guennebaud 5c68ba41a8 typos
2017-02-21 17:10:55 +01: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;