MyraMath
Classes | Functions
lopcgn.h File Reference

Finds several small eigenpairs of a real symmetric Action. More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <utility>
Include dependency graph for lopcgn.h:

Go to the source code of this file.

Classes

class  myra::Action< Number >
 Applies the "Action" of a linear operator, b := A*x. More...
 
class  myra::Vector< Number >
 Tabulates a vector of length N, allows random access. More...
 
class  myra::Matrix< Number >
 Tabulates an IxJ matrix. Allows random access, has column major layout to be compatible with BLAS/LAPACK. More...
 
class  myra::CMatrixRange< Number >
 Represents a const MatrixRange. More...
 
class  myra::DiagonalMatrix< Number >
 Tabulates the values of a square NxN diagonal matrix. Allows random access, but only on the diagonal. More...
 

Functions

std::pair< Matrix< float >, DiagonalMatrix< float > > myra::lopcgN (const Action< float > &M, const Action< float > &A, const CMatrixRange< float > &Q, int N, float tolerance=1.0e-4, int iterations=100)
 Finds N small eigenvectors of a symmetric matrix A, requires preconditioner M. Returns the eigenpairs, (1/Lambda,X)
 
std::pair< Matrix< double >, DiagonalMatrix< double > > myra::lopcgN (const Action< double > &M, const Action< double > &A, const CMatrixRange< double > &Q, int N, double tolerance, int iterations)
 

Detailed Description

Finds several small eigenpairs of a real symmetric Action.