KrisLibrary  1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
Math::CholeskyDecomposition< T > Class Template Reference

Performs the Cholesky decomposition. More...

#include <CholeskyDecomposition.h>

Public Types

typedef MatrixTemplate< T > MatrixT
 
typedef VectorTemplate< T > VectorT
 

Public Member Functions

 CholeskyDecomposition (const MatrixT &A)
 
 CholeskyDecomposition (const MatrixT &A, MatrixT &L)
 
void setDestination (MatrixT &L)
 
bool set (const MatrixT &A)
 
bool setPerturbed (const MatrixT &A, T &lambda)
 
void backSub (const VectorT &b, VectorT &x) const
 
void LBackSub (const VectorT &b, VectorT &x) const
 
void LTBackSub (const VectorT &b, VectorT &x) const
 
void backSub (const MatrixT &B, MatrixT &X) const
 
void getInverse (MatrixT &Ainv) const
 
void update (const VectorT &x)
 Update the cholesky decomposition for A + xx^t.
 
bool downdate (const VectorT &x)
 "Downdate" the cholesky decomposition for A - xx^t (on failure, L is undefined)
 

Public Attributes

MatrixT L
 
zeroEpsilon
 

Detailed Description

template<class T>
class Math::CholeskyDecomposition< T >

Performs the Cholesky decomposition.

Decomposes the positive semi-definite matrix A to LL^t.


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