1GeneralizedEigenSolver<MatrixXf> ges;
2MatrixXf A = MatrixXf::Random(4,4);
3MatrixXf B = MatrixXf::Random(4,4);
4ges.compute(A, B);
5cout << "The (complex) numerators of the generalzied eigenvalues are: " << ges.alphas().transpose() << endl;
6cout << "The (real) denominatore of the generalzied eigenvalues are: " << ges.betas().transpose() << endl;
7cout << "The (complex) generalzied eigenvalues are (alphas./beta): " << ges.eigenvalues().transpose() << endl;
8