Cholesky Class Template Reference
[Vector and Matrix mathematics]

#include <MatrixFunctors.hpp>

Inheritance diagram for Cholesky:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<class T>
class gpstk::Cholesky< T >

Compute cholesky decomposition (upper triangular square root) of the given matrix, which must be positive definite.

Positive definite <=> positive eigenvalues. Note that the UT sqrt is not unique, and that m = U*transpose(U) (where U=UTsqrt(m)) only if m is symmetric.

Definition at line 546 of file MatrixFunctors.hpp.

Public Member Functions

 Cholesky ()
template<class BaseClass>
void operator() (const ConstMatrixBase< T, BaseClass > &m) throw (MatrixException)
template<class BaseClass2>
void backSub (RefVectorBase< T, BaseClass2 > &b) const throw (MatrixException)

Public Attributes

Matrix< T > L
 Lower triangular and Upper triangular Cholesky decompositions.
Matrix< T > U
 Lower triangular and Upper triangular Cholesky decompositions.


Constructor & Destructor Documentation

Cholesky  )  [inline]
 

Definition at line 549 of file MatrixFunctors.hpp.


Member Function Documentation

void backSub RefVectorBase< T, BaseClass2 > &  b  )  const throw (MatrixException) [inline]
 

Definition at line 610 of file MatrixFunctors.hpp.

References GPSTK_THROW, and Matrix::rows().

Referenced by MatrixTest6().

void operator() const ConstMatrixBase< T, BaseClass > &  m  )  throw (MatrixException) [inline]
 

Todo:
potential complex number problem!

Reimplemented in CholeskyCrout.

Definition at line 553 of file MatrixFunctors.hpp.

References GPSTK_THROW, and SQRT.


Member Data Documentation

Matrix<T> L
 

Lower triangular and Upper triangular Cholesky decompositions.

Definition at line 639 of file MatrixFunctors.hpp.

Referenced by SRI::addAPrioriInformation(), SRIleastSquares::dataUpdate(), gpstk::inverseChol(), MatrixTest6(), and SRIFilter::measurementUpdate().

Matrix<T> U
 

Lower triangular and Upper triangular Cholesky decompositions.

Definition at line 639 of file MatrixFunctors.hpp.

Referenced by MatrixTest6().


The documentation for this class was generated from the following file:
Generated on Wed Feb 8 03:31:40 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1