.. index:: pair: class; gpr::linalg::TwoStageEigenLib .. _doxid-classgpr_1_1linalg_1_1_two_stage_eigen_lib: class gpr::linalg::TwoStageEigenLib =================================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class TwoStageEigenLib { public: // methods static TwoStageEigenLib& :target:`instance`(); bool :ref:`available`() const; bool :ref:`allEigenpairs`(const Eigen::MatrixXd& sym, Eigen::Index min_order, Eigen::VectorXd& evals, Eigen::MatrixXd& evecs) const; }; .. _details-classgpr_1_1linalg_1_1_two_stage_eigen_lib: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; available .. _doxid-classgpr_1_1linalg_1_1_two_stage_eigen_lib_1a4b70da26755a8bd369dc10b5e7ea21c1: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool available() const The symbols are the LAPACK the build linked. There is no runtime search of liblapack.so. .. index:: pair: function; allEigenpairs .. _doxid-classgpr_1_1linalg_1_1_two_stage_eigen_lib_1af57bea54c279ff61c563b45897fdb176: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool allEigenpairs(const Eigen::MatrixXd& sym, Eigen::Index min_order, Eigen::VectorXd& evals, Eigen::MatrixXd& evecs) const Ascending eigenpairs of a symmetric matrix. Returns false when the problem is too small for the band form to pay, or any LAPACK call reports failure; every caller must keep its existing one-stage path for those cases.