Public Member Functions | Private Types | Static Private Member Functions | Private Attributes | List of all members
Spectra::TridiagEigen< Scalar > Class Template Reference

#include <TridiagEigen.h>

Public Member Functions

void compute (ConstGenericMatrix &mat)
 
const Vectoreigenvalues () const
 
const Matrixeigenvectors () const
 
 TridiagEigen ()
 
 TridiagEigen (ConstGenericMatrix &mat)
 

Private Types

typedef const Eigen::Ref< const MatrixConstGenericMatrix
 
typedef Eigen::Ref< MatrixGenericMatrix
 
typedef Eigen::Index Index
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::DynamicMatrix
 
typedef Scalar RealScalar
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
 

Static Private Member Functions

static void tridiagonal_qr_step (RealScalar *diag, RealScalar *subdiag, Index start, Index end, Scalar *matrixQ, Index n)
 

Private Attributes

bool m_computed
 
Matrix m_evecs
 
Vector m_main_diag
 
Index m_n
 
const Scalar m_near_0
 
Vector m_sub_diag
 

Detailed Description

template<typename Scalar = double>
class Spectra::TridiagEigen< Scalar >

Definition at line 23 of file TridiagEigen.h.

Member Typedef Documentation

◆ ConstGenericMatrix

template<typename Scalar = double>
typedef const Eigen::Ref<const Matrix> Spectra::TridiagEigen< Scalar >::ConstGenericMatrix
private

Definition at line 34 of file TridiagEigen.h.

◆ GenericMatrix

template<typename Scalar = double>
typedef Eigen::Ref<Matrix> Spectra::TridiagEigen< Scalar >::GenericMatrix
private

Definition at line 33 of file TridiagEigen.h.

◆ Index

template<typename Scalar = double>
typedef Eigen::Index Spectra::TridiagEigen< Scalar >::Index
private

Definition at line 26 of file TridiagEigen.h.

◆ Matrix

template<typename Scalar = double>
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Spectra::TridiagEigen< Scalar >::Matrix
private

Definition at line 30 of file TridiagEigen.h.

◆ RealScalar

template<typename Scalar = double>
typedef Scalar Spectra::TridiagEigen< Scalar >::RealScalar
private

Definition at line 28 of file TridiagEigen.h.

◆ Vector

template<typename Scalar = double>
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> Spectra::TridiagEigen< Scalar >::Vector
private

Definition at line 31 of file TridiagEigen.h.

Constructor & Destructor Documentation

◆ TridiagEigen() [1/2]

template<typename Scalar = double>
Spectra::TridiagEigen< Scalar >::TridiagEigen ( )
inline

Definition at line 109 of file TridiagEigen.h.

◆ TridiagEigen() [2/2]

template<typename Scalar = double>
Spectra::TridiagEigen< Scalar >::TridiagEigen ( ConstGenericMatrix mat)
inline

Definition at line 114 of file TridiagEigen.h.

Member Function Documentation

◆ compute()

template<typename Scalar = double>
void Spectra::TridiagEigen< Scalar >::compute ( ConstGenericMatrix mat)
inline

Definition at line 121 of file TridiagEigen.h.

◆ eigenvalues()

template<typename Scalar = double>
const Vector& Spectra::TridiagEigen< Scalar >::eigenvalues ( ) const
inline

Definition at line 199 of file TridiagEigen.h.

◆ eigenvectors()

template<typename Scalar = double>
const Matrix& Spectra::TridiagEigen< Scalar >::eigenvectors ( ) const
inline

Definition at line 208 of file TridiagEigen.h.

◆ tridiagonal_qr_step()

template<typename Scalar = double>
static void Spectra::TridiagEigen< Scalar >::tridiagonal_qr_step ( RealScalar diag,
RealScalar subdiag,
Index  start,
Index  end,
Scalar matrixQ,
Index  n 
)
inlinestaticprivate

Definition at line 45 of file TridiagEigen.h.

Member Data Documentation

◆ m_computed

template<typename Scalar = double>
bool Spectra::TridiagEigen< Scalar >::m_computed
private

Definition at line 41 of file TridiagEigen.h.

◆ m_evecs

template<typename Scalar = double>
Matrix Spectra::TridiagEigen< Scalar >::m_evecs
private

Definition at line 39 of file TridiagEigen.h.

◆ m_main_diag

template<typename Scalar = double>
Vector Spectra::TridiagEigen< Scalar >::m_main_diag
private

Definition at line 37 of file TridiagEigen.h.

◆ m_n

template<typename Scalar = double>
Index Spectra::TridiagEigen< Scalar >::m_n
private

Definition at line 36 of file TridiagEigen.h.

◆ m_near_0

template<typename Scalar = double>
const Scalar Spectra::TridiagEigen< Scalar >::m_near_0
private

Definition at line 42 of file TridiagEigen.h.

◆ m_sub_diag

template<typename Scalar = double>
Vector Spectra::TridiagEigen< Scalar >::m_sub_diag
private

Definition at line 38 of file TridiagEigen.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31