Tridiagonalization_packedMatrix.cpp
Go to the documentation of this file.
00001 Matrix4d X = Matrix4d::Random(4,4);
00002 Matrix4d A = X + X.transpose();
00003 cout << "Here is a random symmetric 4x4 matrix:" << endl << A << endl;
00004 Tridiagonalization<Matrix4d> triOfA(A);
00005 Matrix4d pm = triOfA.packedMatrix();
00006 cout << "The packed matrix M is:" << endl << pm << endl;
00007 cout << "The diagonal and subdiagonal corresponds to the matrix T, which is:" 
00008      << endl << triOfA.matrixT() << endl;


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