MatrixBase_transpose.cpp
Go to the documentation of this file.
00001 Matrix2i m = Matrix2i::Random();
00002 cout << "Here is the matrix m:" << endl << m << endl;
00003 cout << "Here is the transpose of m:" << endl << m.transpose() << endl;
00004 cout << "Here is the coefficient (1,0) in the transpose of m:" << endl
00005      << m.transpose()(1,0) << endl;
00006 cout << "Let us overwrite this coefficient with the value 0." << endl;
00007 m.transpose()(1,0) = 0;
00008 cout << "Now the matrix m is:" << endl << m << endl;


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