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;


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