Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gte::SymmetricEigensolver< Real > Class Template Reference

#include <GteSymmetricEigensolver.h>

Classes

struct  GivensRotation
 

Public Member Functions

Real GetEigenvalue (int c) const
 
void GetEigenvalues (Real *eigenvalues) const
 
void GetEigenvector (int c, Real *eigenvector) const
 
void GetEigenvectors (Real *eigenvectors) const
 
bool IsRotation () const
 
unsigned int Solve (Real const *input, int sortType)
 
 SymmetricEigensolver (int size, unsigned int maxIterations)
 

Private Member Functions

void ComputePermutation (int sortType)
 
void DoQRImplicitShift (int imin, int imax)
 
void GetSinCos (Real u, Real v, Real &cs, Real &sn)
 
void Tridiagonalize ()
 

Private Attributes

std::vector< Real > mDiagonal
 
std::vector< GivensRotationmGivens
 
int mIsRotation
 
std::vector< Real > mMatrix
 
unsigned int mMaxIterations
 
std::vector< intmPermutation
 
std::vector< Real > mPVector
 
int mSize
 
std::vector< Real > mSuperdiagonal
 
std::vector< intmVisited
 
std::vector< Real > mVVector
 
std::vector< Real > mWVector
 

Detailed Description

template<typename Real>
class gte::SymmetricEigensolver< Real >

Definition at line 108 of file GteSymmetricEigensolver.h.

Constructor & Destructor Documentation

template<typename Real >
gte::SymmetricEigensolver< Real >::SymmetricEigensolver ( int  size,
unsigned int  maxIterations 
)

Definition at line 228 of file GteSymmetricEigensolver.h.

Member Function Documentation

template<typename Real >
void gte::SymmetricEigensolver< Real >::ComputePermutation ( int  sortType)
private

Definition at line 769 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::DoQRImplicitShift ( int  imin,
int  imax 
)
private

Definition at line 702 of file GteSymmetricEigensolver.h.

template<typename Real >
Real gte::SymmetricEigensolver< Real >::GetEigenvalue ( int  c) const

Definition at line 556 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::GetEigenvalues ( Real *  eigenvalues) const

Definition at line 310 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::GetEigenvector ( int  c,
Real *  eigenvector 
) const

Definition at line 483 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::GetEigenvectors ( Real *  eigenvectors) const

Definition at line 333 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::GetSinCos ( Real  u,
Real  v,
Real &  cs,
Real &  sn 
)
private

Definition at line 675 of file GteSymmetricEigensolver.h.

template<typename Real >
bool gte::SymmetricEigensolver< Real >::IsRotation ( ) const

Definition at line 439 of file GteSymmetricEigensolver.h.

template<typename Real >
unsigned int gte::SymmetricEigensolver< Real >::Solve ( Real const *  input,
int  sortType 
)

Definition at line 252 of file GteSymmetricEigensolver.h.

template<typename Real >
void gte::SymmetricEigensolver< Real >::Tridiagonalize ( )
private

Definition at line 578 of file GteSymmetricEigensolver.h.

Member Data Documentation

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mDiagonal
private

Definition at line 192 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<GivensRotation> gte::SymmetricEigensolver< Real >::mGivens
private

Definition at line 210 of file GteSymmetricEigensolver.h.

template<typename Real>
int gte::SymmetricEigensolver< Real >::mIsRotation
mutableprivate

Definition at line 217 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mMatrix
private

Definition at line 187 of file GteSymmetricEigensolver.h.

template<typename Real>
unsigned int gte::SymmetricEigensolver< Real >::mMaxIterations
private

Definition at line 183 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<int> gte::SymmetricEigensolver< Real >::mPermutation
private

Definition at line 215 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mPVector
mutableprivate

Definition at line 221 of file GteSymmetricEigensolver.h.

template<typename Real>
int gte::SymmetricEigensolver< Real >::mSize
private

Definition at line 179 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mSuperdiagonal
private

Definition at line 193 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<int> gte::SymmetricEigensolver< Real >::mVisited
mutableprivate

Definition at line 216 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mVVector
mutableprivate

Definition at line 222 of file GteSymmetricEigensolver.h.

template<typename Real>
std::vector<Real> gte::SymmetricEigensolver< Real >::mWVector
mutableprivate

Definition at line 223 of file GteSymmetricEigensolver.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06