MatrixBase_part.cpp
Go to the documentation of this file.
00001 #ifndef _MSC_VER
00002   #warning deprecated
00003 #endif
00004 /*
00005 Matrix3d m = Matrix3d::Zero();
00006 m.part<Eigen::StrictlyUpperTriangular>().setOnes();
00007 cout << "Here is the matrix m:" << endl << m << endl;
00008 cout << "And let us now compute m*m.adjoint() in a very optimized way" << endl
00009      << "taking advantage of the symmetry." << endl;
00010 Matrix3d n;
00011 n.part<Eigen::SelfAdjoint>() = (m*m.adjoint()).lazy();
00012 cout << "The result is:" << endl << n << endl;
00013 */


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