@@ -32,10 +32,16 @@ struct GeneralizedEigenSolverVisitor
3232 " Computes the generalized eigendecomposition of given matrix "
3333 " pair. " ))
3434
35+ .def (" eigenvectors" , &Solver::eigenvectors, bp::arg (" self" ),
36+ " Returns an expression of the computed generalized eigenvectors. " )
37+ // TODO: Expose so that the return type are convertible to np arrays
38+ .def (" eigenvalues" , &Solver::eigenvalues, bp::arg (" self" ),
39+ " Returns an expression of the computed generalized eigenvalues. " )
40+
3541 .def (" alphas" , &Solver::alphas, bp::arg (" self" ),
36- " Returns the vectors containing the alpha values " )
42+ " Returns the vectors containing the alpha values. " )
3743 .def (" betas" , &Solver::betas, bp::arg (" self" ),
38- " Returns the vectors containing the beta values " )
44+ " Returns the vectors containing the beta values. " )
3945
4046 .def (" compute" ,
4147 &GeneralizedEigenSolverVisitor::compute_proxy<MatrixType>,
@@ -50,9 +56,6 @@ struct GeneralizedEigenSolverVisitor
5056 " Computes generalized eigendecomposition of given matrix. ." ,
5157 bp::return_self<>())
5258
53- .def (" eigenvectors" , &Solver::eigenvectors, bp::arg (" self" ),
54- " Returns an expression of the computed generalized eigenvectors. " )
55-
5659 .def (" info" , &Solver::info, bp::arg (" self" ),
5760 " NumericalIssue if the input contains INF or NaN values or "
5861 " overflow occured. Returns Success otherwise." )
0 commit comments