class HCL_ItEigSolver_d : public HCL_Base

Abstract base class for iterative eigenvalue solvers

Inheritance:


Public

Methods
virtual int Solve ( int &nev, HCL_LinearOp_d &A, HCL_Vector_d &x )
Solve A*x = lambda*x
virtual int EigPair (int i, double &eigr, double &eigi, HCL_Vector_d *vr, HCL_Vector_d *vi)
Access to eigenvalues and eigenvectors computed by Solve()
virtual int EigPair (int i, double &eigr, HCL_Vector_d *vr )
Access to (real part of) eigenpairs computed by Solve()
virtual int Eigenvalue ( int i, double &eigr, double &eigi )
Access to eigenvalues computed by Solve()
virtual int Eigenvalue ( int i, double &eigr )
Access to (real part of) eigenvalues computed by Solve()

Inherited from HCL_Base:

Public Methods

void IncCount() const
void DecCount() const
int Count() const
virtual ostream& Write(ostream &) const

Documentation

Abstract base class for iterative eigenvalue solvers
Methods

virtual int Solve( int &nev, HCL_LinearOp_d &A, HCL_Vector_d &x )
Solve A*x = lambda*x
Parameters:
nev - Number of eigenvalues wanted. On output this contains the number of eigenvalues actually computed.
A - Linear operator A.
x - Starting vector for iteration.

virtual int EigPair(int i, double &eigr, double &eigi, HCL_Vector_d *vr, HCL_Vector_d *vi)
Access to eigenvalues and eigenvectors computed by Solve()
Returns:
Nonzero if 'i' is not valid or if Solve() has not been called.
Parameters:
i - Which eigenpair to return. (Must be between 1 and the number of eigenvalues computed in Solve())
eigr - Returns the real part of the ith eigenvalue.
eigi - Returns the imaginary part of the ith eigenvalue.
vr - Returns the real part of the ith eigenvector.
vi - Returns the imaginary part of the ith eigenvector.

virtual int EigPair(int i, double &eigr, HCL_Vector_d *vr )
Access to (real part of) eigenpairs computed by Solve()
Returns:
Nonzero if 'i' is not valid or if Solve() has not been called.
Parameters:
i - Which eigenvalue to return. (Must be between 1 and the number of eigenvalues computed in Solve())
eigr - Returns the real part of the ith eigenvalue.
vr - Returns the real part of the ith eigenvector.

virtual int Eigenvalue( int i, double &eigr, double &eigi )
Access to eigenvalues computed by Solve()
Returns:
Nonzero if 'i' is not valid or if Solve() has not been called.
Parameters:
i - Which eigenvalue to return. (Must be between 1 and the number of eigenvalues computed in Solve())
eigr - Returns the real part of the ith eigenvalue.
eigi - Returns the imaginary part of the ith eigenvalue.

virtual int Eigenvalue( int i, double &eigr )
Access to (real part of) eigenvalues computed by Solve()
Returns:
Nonzero if 'i' is not valid or if Solve() has not been called.
Parameters:
i - Which eigenvalue to return. (Must be between 1 and the number of eigenvalues computed in Solve())
eigr - Returns the real part of the ith eigenvalue.


Direct child classes:
HCL_IRArnoldi_d

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de