12 #include "matkitdef.h" 15 using namespace MATKIT;
int SymmetricTridiagoanlEigenSolver(Vector &eigVal, mkIndex n, const Real *diag, const Real *sdiag)
Compute all eigenvalues (but not eigenvectors) of a symmetric tridiagonal matrix T. This function invokes the LAPACK routine dstev_() (if Real is double) or stev_() (if Real is float).
void reportTroubleIfAny(std::ostream &outerr, int info, mkIndex n=0)
Print out an error message to std::ostream outerr if info 0 which signifies an error that occurred i...