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;


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:33:55