Public Member Functions | Private Types | List of all members
Spectra::Lanczos< Scalar, ArnoldiOpType > Class Template Reference

#include <Lanczos.h>

Inheritance diagram for Spectra::Lanczos< Scalar, ArnoldiOpType >:
Inheritance graph
[legend]

Public Member Functions

void compress_H (const TridiagQR< Scalar > &decomp)
 
void factorize_from (Index from_k, Index to_m, Index &op_counter)
 
 Lanczos (const ArnoldiOpType &op, Index m)
 
- Public Member Functions inherited from Spectra::Arnoldi< Scalar, ArnoldiOpType >
 Arnoldi (const ArnoldiOpType &op, Index m)
 
void compress_H (const DoubleShiftQR< Scalar > &decomp)
 
void compress_H (const UpperHessenbergQR< Scalar > &decomp)
 
void compress_V (const Matrix &Q)
 
Scalar f_norm () const
 
void init (MapConstVec &v0, Index &op_counter)
 
const Matrixmatrix_H () const
 
const Matrixmatrix_V () const
 
Index subspace_dim () const
 
const Vectorvector_f () const
 
virtual ~Arnoldi ()
 

Private Types

typedef Eigen::Index Index
 
typedef Eigen::Map< const MatrixMapConstMat
 
typedef Eigen::Map< const VectorMapConstVec
 
typedef Eigen::Map< MatrixMapMat
 
typedef Eigen::Map< VectorMapVec
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::DynamicMatrix
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
 

Additional Inherited Members

- Protected Member Functions inherited from Spectra::Arnoldi< Scalar, ArnoldiOpType >
void expand_basis (MapConstMat &V, const Index seed, Vector &f, Scalar &fnorm)
 
- Protected Attributes inherited from Spectra::Arnoldi< Scalar, ArnoldiOpType >
Scalar m_beta
 
const Scalar m_eps
 
Vector m_fac_f
 
Matrix m_fac_H
 
Matrix m_fac_V
 
Index m_k
 
const Index m_m
 
const Index m_n
 
const Scalar m_near_0
 
ArnoldiOpType m_op
 

Detailed Description

template<typename Scalar, typename ArnoldiOpType>
class Spectra::Lanczos< Scalar, ArnoldiOpType >

Definition at line 27 of file Lanczos.h.

Member Typedef Documentation

◆ Index

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Index Spectra::Lanczos< Scalar, ArnoldiOpType >::Index
private

Definition at line 30 of file Lanczos.h.

◆ MapConstMat

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Map<const Matrix> Spectra::Lanczos< Scalar, ArnoldiOpType >::MapConstMat
private

Definition at line 35 of file Lanczos.h.

◆ MapConstVec

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Map<const Vector> Spectra::Lanczos< Scalar, ArnoldiOpType >::MapConstVec
private

Definition at line 36 of file Lanczos.h.

◆ MapMat

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Map<Matrix> Spectra::Lanczos< Scalar, ArnoldiOpType >::MapMat
private

Definition at line 33 of file Lanczos.h.

◆ MapVec

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Map<Vector> Spectra::Lanczos< Scalar, ArnoldiOpType >::MapVec
private

Definition at line 34 of file Lanczos.h.

◆ Matrix

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> Spectra::Lanczos< Scalar, ArnoldiOpType >::Matrix
private

Definition at line 31 of file Lanczos.h.

◆ Vector

template<typename Scalar , typename ArnoldiOpType >
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1> Spectra::Lanczos< Scalar, ArnoldiOpType >::Vector
private

Definition at line 32 of file Lanczos.h.

Constructor & Destructor Documentation

◆ Lanczos()

template<typename Scalar , typename ArnoldiOpType >
Spectra::Lanczos< Scalar, ArnoldiOpType >::Lanczos ( const ArnoldiOpType &  op,
Index  m 
)
inline

Definition at line 50 of file Lanczos.h.

Member Function Documentation

◆ compress_H()

template<typename Scalar , typename ArnoldiOpType >
void Spectra::Lanczos< Scalar, ArnoldiOpType >::compress_H ( const TridiagQR< Scalar > &  decomp)
inline

Definition at line 158 of file Lanczos.h.

◆ factorize_from()

template<typename Scalar , typename ArnoldiOpType >
void Spectra::Lanczos< Scalar, ArnoldiOpType >::factorize_from ( Index  from_k,
Index  to_m,
Index op_counter 
)
inlinevirtual

Reimplemented from Spectra::Arnoldi< Scalar, ArnoldiOpType >.

Definition at line 55 of file Lanczos.h.


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


gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:25:06