aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/MatrixBase_reshaped_int_int.cpp
blob: af4ca592f907053664b534c36d585b16da5cc861 (plain)
1
2
3
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;