Go to the source code of this file.
|
MatrixXd | A |
|
MatrixXcd | D |
|
cout<< "The eigenvalues of A are:"<< endl<< es.eigenvalues()<< endl;cout<< "The matrix of eigenvectors, V, is:"<< endl<< es.eigenvectors()<< endl<< endl;complex< double > | lambda |
|
MatrixXcd | V |
|
◆ cout<< "Consider the first eigenvalue, lambda = "<< lambda<< endl;VectorXcd v=es.eigenvectors().col(0);cout<< "If v is the corresponding eigenvector, then lambda * v = "<< endl<< lambda *v<< endl;cout<< "... and A * v = "<< endl<< A.cast< complex< double > >()
cout<< "Consider the first eigenvalue, lambda = "<< lambda<< endl;VectorXcd v=es.eigenvectors().col(0);cout<< "If v is the corresponding eigenvector, then lambda * v = "<< endl<< lambda *v<< endl;cout<< "... and A * v = "<< endl<< A.cast< complex< double > > |
( |
| ) |
|
◆ es()
cout<< "Here is a random 6x6 matrix, A:" << endl << A << endl << endl;EigenSolver<MatrixXd> es |
( |
A |
| ) |
|
◆ lambda
cout<< "The eigenvalues of A are:" << endl << es.eigenvalues() << endl;cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl;complex<double> lambda |