tut_arithmetic_transpose_aliasing.cpp
Go to the documentation of this file.
00001 Matrix2i a; a << 1, 2, 3, 4;
00002 cout << "Here is the matrix a:\n" << a << endl;
00003 
00004 a = a.transpose(); // !!! do NOT do this !!!
00005 cout << "and the result of the aliasing effect:\n" << a << endl;


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:27