MyraMath
Classes | Functions
lanczos1.h File Reference

Finds one dominant eigenpair of a real symmetric Action. More...

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

Go to the source code of this file.

Classes

class  myra::CMatrixRange< Number >
 Represents a const MatrixRange. More...
 
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...
 

Functions

std::pair< Vector< float >, float > myra::lanczos1 (const Action< float > &A, float tolerance, int iterations)
 Finds one dominant eigenpair of A.
 
std::pair< Vector< double >, double > myra::lanczos1 (const Action< double > &A, double tolerance, int iterations)
 
std::pair< Vector< float >, float > myra::lanczos1 (const Action< float > &A, const CMatrixRange< float > &Q, float tolerance, int iterations)
 Given operator A (and deflation space Q) find the next dominant eigenvector of A. More...
 
std::pair< Vector< double >, double > myra::lanczos1 (const Action< double > &A, const CMatrixRange< double > &Q, double tolerance, int iterations)
 

Detailed Description

Finds one dominant eigenpair of a real symmetric Action.

Function Documentation

◆ lanczos1()

std::pair< Vector< float >, float > myra::lanczos1 ( const Action< float > &  A,
const CMatrixRange< float > &  Q,
float  tolerance,
int  iterations 
)

Given operator A (and deflation space Q) find the next dominant eigenvector of A.

Given operator A (and deflation space Q) find the next dominant eigenpair of A.