MyraMath
Classes | Functions
power.h File Reference

Applies the power method to extract dominant eigenpair. More...

#include <myramath/MYRAMATH_EXPORT.h>
Include dependency graph for power.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::VectorRange< Number >
 Represents a mutable VectorRange. More...
 
class  myra::MatrixRange< Number >
 Represents a mutable 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

float myra::power (const Action< float > &A, const VectorRange< float > &x, float tolerance=1.0e-4f, int iterations=100)
 Applies the power method to compute the dominant eigenpair from an initial guess x. Results lambda, overwrites x.
 
double myra::power (const Action< double > &A, const VectorRange< double > &x, double tolerance, int iterations)
 
DiagonalMatrix< float > myra::power (const Action< float > &A, const MatrixRange< float > &X, float tolerance=1.0e-4f, int iterations=100)
 Applies orthogonal iteration to compute dominant eigenpairs from an initial guess X. Returns lambda, overwrites X.
 
DiagonalMatrix< double > myra::power (const Action< double > &A, const MatrixRange< double > &X, double tolerance, int iterations)
 

Detailed Description

Applies the power method to extract dominant eigenpair.