mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 08:39:37 +08:00
4 lines
155 B
C++
4 lines
155 B
C++
Matrix2i a; a << 1, 2, 3, 4;
|
|
cout << "Here is the matrix a:\n" << a << endl;
|
|
a = a.transpose(); // fails
|
|
cout << "and the aliasing effect:\n" << a << endl; |