SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp File Reference

Go to the source code of this file.

Functions

cout<< "Here is a random symmetric matrix, A:"<< endl<< A<< endl;X=MatrixXd::Random(5, 5);MatrixXd B=X *X.transpose();cout<< "and a random positive-definite matrix, B:"<< endl<< B<< endl<< endl;GeneralizedSelfAdjointEigenSolver< MatrixXd > es (A, B)
 

Variables

MatrixXd A
 
MatrixXd X
 

Function Documentation

◆ es()

cout<< "Here is a random symmetric matrix, A:" << endl << A << endl;X = MatrixXd::Random(5,5);MatrixXd B = X * X.transpose();cout << "and a random positive-definite matrix, B:" << endl << B << endl << endl;GeneralizedSelfAdjointEigenSolver<MatrixXd> es ( A  ,
B   
)

Variable Documentation

◆ A

MatrixXd A

◆ X

MatrixXd X