FILTLAN  1.0a
Functions
symtrieig.h File Reference
#include <iostream>
#include "matkitdef.h"

Go to the source code of this file.

Functions

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). More...
 
int SymmetricTridiagoanlEigenSolver (Vector &eigVal, Matrix &eigVec, mkIndex n, const Real *diag, const Real *sdiag)
 Compute all eigenvalues and eigenvectors of a symmetric tridiagonal matrix T. This function invokes the LAPACK routine dstev_() (if Real is double) or stev_() (if Real is float). More...
 
void reportTroubleIfAny (std::ostream &outerr, int info, mkIndex n=0)
 Print out an error message to std::ostream outerr if info $\neq$ 0 which signifies an error that occurred in the LAPACK routine xSTEV. More...
 

Detailed Description

Rountines for symmetric tridiagonal eigenvalue problems (for all eigenvalues and optionally all eigenvectors of a symmetric tridiagonal matrix).

The LAPACK routine xSTEV (i.e. dstev_() if Real is double, or sstev_() if Real is float) is required. The solvers declared here are indeed wrappers.