EigenSolver_pseudoEigenvectors.cpp
Go to the documentation of this file.
00001 MatrixXd A = MatrixXd::Random(6,6);
00002 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl;
00003 
00004 EigenSolver<MatrixXd> es(A);
00005 MatrixXd D = es.pseudoEigenvalueMatrix();
00006 MatrixXd V = es.pseudoEigenvectors();
00007 cout << "The pseudo-eigenvalue matrix D is:" << endl << D << endl;
00008 cout << "The pseudo-eigenvector matrix V is:" << endl << V << endl;
00009 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;


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