1*bf2c3715SXin Li MatrixXd ones = MatrixXd::Ones(3,3); 2*bf2c3715SXin Li SelfAdjointEigenSolver<MatrixXd> es(ones); 3*bf2c3715SXin Li cout << "The eigenvalues of the 3x3 matrix of ones are:" 4*bf2c3715SXin Li << endl << es.eigenvalues() << endl; 5