mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
5f26f57598
This means that now AutoOrder is allowed, and it always return a column-vector.
5 lines
287 B
C++
5 lines
287 B
C++
Matrix4i m = Matrix4i::Random();
|
|
cout << "Here is the matrix m:" << endl << m << endl;
|
|
cout << "Here is m.reshaped().transpose():" << endl << m.reshaped().transpose() << endl;
|
|
cout << "Here is m.reshaped<RowMajor>().transpose(): " << endl << m.reshaped<RowMajor>().transpose() << endl;
|