FILTLAN  1.0a
Classes | Typedefs | Functions
laneig.h File Reference
#include <math.h>
#include <iostream>

Go to the source code of this file.

Classes

struct  LanczosOptions
 An instance of this class, taken by LanczosEigenSolver(), is a collection of options for the Lanczos procedure to solve symmetric eigenvalue problems. More...
 
struct  LanczosInfo
 LanczosEigenSolver() returns an instance of this class which gives the information of the Lanczos procedure. More...
 

Typedefs

typedef Vector(* NEXT_VECTOR) (const Vector &)
 

Functions

LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, NEXT_VECTOR NextKrylovVector, mkIndex n, mkIndex neigWanted, const char eigPart[], LanczosOptions &opts)
 Lanczos eigensolver, the most general form. More...
 
LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, NEXT_VECTOR NextKrylovVector, mkIndex n, mkIndex neigWanted, const char eigPart[])
 The same as LanczosEigenSolver(), but with the default LanczosOptions.
 
LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, const SymmetricMatrix &A, mkIndex neigWanted, const char eigPart[], LanczosOptions &opts)
 The same as LanczosEigenSolver(), but with the NextKrylovVector() defined as A*v.
 
LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, const SymmetricMatrix &A, mkIndex neigWanted, const char eigPart[])
 The same as LanczosEigenSolver(), but with the NextKrylovVector() defined as A*v and with default LanczosOptions.
 
LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, const SparseMatrix &A, mkIndex neigWanted, const char eigPart[], LanczosOptions &opts)
 The same as LanczosEigenSolver(), but with the NextKrylovVector() defined as A*v.
 
LanczosInfo LanczosEigenSolver (Vector &eigVal, Matrix &eigVec, const SparseMatrix &A, mkIndex neigWanted, const char eigPart[])
 The same as LanczosEigenSolver(), but with the NextKrylovVector() defined as A*v and with default LanczosOptions.
 

Detailed Description

Routines for the Lanczos method for extreme eigenvalues (and optionally the corresponding eigenvectors) of a symmetric matrix.