class gpr::linalg::TwoStageEigenLib

Overview

#include <gpr/linalg/TwoStageEigen.h>
 
class TwoStageEigenLib {
public:
    // methods
 
    static TwoStageEigenLib& instance();
    bool available() const;
    bool allEigenpairs(const Eigen::MatrixXd& sym, Eigen::Index min_order, Eigen::VectorXd& evals, Eigen::MatrixXd& evecs) const;
};

Detailed Documentation

Methods

bool available() const

The symbols are the LAPACK the build linked. There is no runtime search of liblapack.so.

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.