blob: 501f6276f34449c5da249c8537d5003443b205cf (
plain)
1
2
3
4
5
|
using Eigen::placeholders::all;
Matrix4i m = Matrix4i::Random();
cout << "Here is the matrix m:" << endl << m << endl;
cout << "Here is m(all).transpose():" << endl << m(all).transpose() << endl;
cout << "Here is m.reshaped(fix<1>,AutoSize):" << endl << m.reshaped(fix<1>,AutoSize) << endl;
|