HessenbergDecomposition_packedMatrix.cpp
Go to the documentation of this file.
00001 Matrix4d A = Matrix4d::Random(4,4);
00002 cout << "Here is a random 4x4 matrix:" << endl << A << endl;
00003 HessenbergDecomposition<Matrix4d> hessOfA(A);
00004 Matrix4d pm = hessOfA.packedMatrix();
00005 cout << "The packed matrix M is:" << endl << pm << endl;
00006 cout << "The upper Hessenberg part corresponds to the matrix H, which is:" 
00007      << endl << hessOfA.matrixH() << endl;
00008 Vector3d hc = hessOfA.householderCoefficients();
00009 cout << "The vector of Householder coefficients is:" << endl << hc << endl;


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