GestureRecognitionToolkit  Version: 1.0 Revision: 04-03-15
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
GRT::EigenvalueDecomposition Class Reference

Public Member Functions

bool decompose (const MatrixDouble &a)
 
MatrixDouble getEigenvectors ()
 
MatrixDouble getDiagonalEigenvalueMatrix ()
 
VectorDouble getRealEigenvalues ()
 
VectorDouble getComplexEigenvalues ()
 

Protected Member Functions

void tred2 ()
 
void tql2 ()
 
void orthes ()
 
void hqr2 ()
 
void cdiv (double xr, double xi, double yr, double yi)
 
template<class T >
findMax (const T &a, const T &b)
 
template<class T >
findMin (const T &a, const T &b)
 
template<class T >
hypot (const T &a, const T &b)
 

Protected Attributes

int n
 
bool issymmetric
 
double cdivr
 
double cdivi
 
MatrixDouble eigenvectors
 
MatrixDouble h
 
VectorDouble realEigenvalues
 
VectorDouble complexEigenvalues
 
VectorDouble ort
 
WarningLog warningLog
 

Detailed Description

Definition at line 28 of file EigenvalueDecomposition.h.

Member Function Documentation

void GRT::EigenvalueDecomposition::cdiv ( double  xr,
double  xi,
double  yr,
double  yi 
)
protected

Complex scalar division.

Definition at line 779 of file EigenvalueDecomposition.cpp.

VectorDouble GRT::EigenvalueDecomposition::getComplexEigenvalues ( )

Return the complex parts of the eigenvalues

Returns
a VectorDouble containing the complex parts of the eigenvalues

Definition at line 816 of file EigenvalueDecomposition.cpp.

MatrixDouble GRT::EigenvalueDecomposition::getDiagonalEigenvalueMatrix ( )

Returns the block diagonal eigenvalue matrix

Returns
a MatrixDouble containing the diagonal eigenvalues

Definition at line 795 of file EigenvalueDecomposition.cpp.

MatrixDouble GRT::EigenvalueDecomposition::getEigenvectors ( )
inline

Returns the eigenvector matrix

Returns
a MatrixDouble containing the eigenvector matrix

Definition at line 40 of file EigenvalueDecomposition.h.

VectorDouble GRT::EigenvalueDecomposition::getRealEigenvalues ( )

Return the real parts of the eigenvalues

Returns
a VectorDouble containing the real parts of the eigenvalues

Definition at line 812 of file EigenvalueDecomposition.cpp.

void GRT::EigenvalueDecomposition::hqr2 ( )
protected

Nonsymmetric reduction from Hessenberg to real Schur form.

This is derived from the Algol procedure hqr2, by Martin and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutine in EISPACK.

Definition at line 373 of file EigenvalueDecomposition.cpp.

void GRT::EigenvalueDecomposition::orthes ( )
protected

Nonsymmetric reduction to Hessenberg form.

This is derived from the Algol procedures orthes and ortran, by Martin and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutines in EISPACK.

Definition at line 290 of file EigenvalueDecomposition.cpp.

void GRT::EigenvalueDecomposition::tql2 ( )
protected

Symmetric tridiagonal QL algorithm.

This is derived from the Algol procedures tql2, by Bowdler, Martin, Reinsch, and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutine in EISPACK.

Definition at line 184 of file EigenvalueDecomposition.cpp.

void GRT::EigenvalueDecomposition::tred2 ( )
protected

Symmetric Householder reduction to tridiagonal form.

This is derived from the Algol procedures tred2 by Bowdler, Martin, Reinsch, and Wilkinson, Handbook for Auto. Comp., Vol.ii-Linear Algebra, and the corresponding Fortran subroutine in EISPACK.

Definition at line 77 of file EigenvalueDecomposition.cpp.


The documentation for this class was generated from the following files: