|
FILTLAN
1.0a
|
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 0 which signifies an error that occurred in the LAPACK routine xSTEV. More... | |
| 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 in the LAPACK routine xSTEV.
| outerr | is an std::ostream for printing out the error message when info 0. |
| info | is the flag returned from the LAPACK routine dstev_() (if Real is double) or sstev_() (if Real is float).
|
| n | is the dimension of the symmetric tridiagonal matrix. This information will also be printed out if n is provided (i.e. n 0). |
| 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).
| n | is the dimension of the symmatrix tridiagonal matrix T. |
| diag[],sdiag[] | define the symmetric tridiagonal matrix T, whose the diagonal elements are diag[0,...,n-1] and subdiagonal elements are sdiag[0,...,n-2]. In other words,
|
| eigVal | is the output vector of length n containing all eigenvalues of T in ascending order. |
| 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).
| n | is the dimension of the symmatrix tridiagonal matrix T. |
| diag[],sdiag[] | define the symmetric tridiagonal matrix; the diagonal elements are diag[0,...,n-1] and subdiagonal elements are sdiag[0,...,n-2]. In other words,
|
| eigVal | is the output vector of length n containing all eigenvalues of T in ascending order. |
| eigVec | is the output n-by-n matrix with columns as eigenvectors of T, sorted with respect to eigVal. |
1.8.14