HessenbergDecomposition_matrixH.cpp
Go to the documentation of this file.
00001 Matrix4f A = MatrixXf::Random(4,4);
00002 cout << "Here is a random 4x4 matrix:" << endl << A << endl;
00003 HessenbergDecomposition<MatrixXf> hessOfA(A);
00004 MatrixXf H = hessOfA.matrixH();
00005 cout << "The Hessenberg matrix H is:" << endl << H << endl;
00006 MatrixXf Q = hessOfA.matrixQ();
00007 cout << "The orthogonal matrix Q is:" << endl << Q << endl;
00008 cout << "Q H Q^T is:" << endl << Q * H * Q.transpose() << endl;


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:32:46