Brian Silverman | 72890c2 | 2015-09-19 14:37:37 -0400 | [diff] [blame] | 1 | Matrix2i a; a << 1, 2, 3, 4; |
2 | cout << "Here is the matrix a:\n" << a << endl; | ||||
3 | |||||
4 | a = a.transpose(); // !!! do NOT do this !!! | ||||
Austin Schuh | c55b017 | 2022-02-20 17:52:35 -0800 | [diff] [blame^] | 5 | cout << "and the result of the aliasing effect:\n" << a << endl; |