|
gslmm::cholesky_decomposition< double > Struct Template Reference
[Cholesky decomposition]
#include <cholesky_decomposition_double.hh>
Inheritance diagram for gslmm::cholesky_decomposition< double >:
[legend]Collaboration diagram for gslmm::cholesky_decomposition< double >:
[legend]List of all members.
Detailed Description
template<>
struct gslmm::cholesky_decomposition< double >
class template specialisation for Cholesky decompositions of matricies of type double .
A symmetric, positive definite square matrix A has a Cholesky decomposition into a product of a lower triangular matrix and its transpose ,
This is sometimes referred to as taking the square-root of a matrix. The Cholesky decomposition can only be carried out when all the eigenvalues of the matrix are positive. This decomposition can be used to convert the linear system into a pair of triangular systems (, ), which can be solved by forward and back-substitution.
- Todo:
- Implement gsl_linalg_cholesky_decomp_unit
Member Typedef Documentation
typedef matrix_type::element_type gslmm::cholesky_decomposition< double >::element_type |
|
typedef matrix_type::value_type gslmm::cholesky_decomposition< double >::value_type |
|
Constructor & Destructor Documentation
|
Create an Cholesky decomposition of the input matrix m.
|
Member Function Documentation
const vector_type& gslmm::cholesky_decomposition< double >::d |
( |
|
) |
const [inline] |
|
|
- Returns:
- The scale diagonal of the decomposition
|
const matrix_type& gslmm::cholesky_decomposition< double >::l |
( |
|
) |
const [inline] |
|
const matrix_type& gslmm::cholesky_decomposition< double >::llt |
( |
|
) |
const [inline] |
|
|
- Returns:
- The matrix of the Cholesky decomposition of
|
const matrix_type& gslmm::cholesky_decomposition< double >::lt |
( |
|
) |
const [inline] |
|
bool gslmm::cholesky_decomposition< double >::solve |
( |
vector_type & |
x |
) |
const [inline] |
|
void gslmm::cholesky_decomposition< double >::unpack |
( |
|
) |
const [inline, protected] |
|
Member Data Documentation
vector_type gslmm::cholesky_decomposition< double >::_d [private] |
|
matrix_type* gslmm::cholesky_decomposition< double >::_l [mutable, private] |
|
|
The Q of the QR decomposition of the input matrix.
|
matrix_type* gslmm::cholesky_decomposition< double >::_lt [mutable, private] |
|
|
The R of the QR decomposition of the input matrix.
|
The documentation for this struct was generated from the following file:
|