org.ejml.alg.dense.decomposition
Interface CholeskyDecomposition<MatrixType extends Matrix64F>

All Superinterfaces:
DecompositionInterface<MatrixType>
All Known Implementing Classes:
BlockCholeskyOuterForm, CholeskyDecompositionBlock, CholeskyDecompositionBlock64, CholeskyDecompositionCommon, CholeskyDecompositionInner

public interface CholeskyDecomposition<MatrixType extends Matrix64F>
extends DecompositionInterface<MatrixType>

Cholesky decomposition for DenseMatrix64F.

A Cholesky decomposition decomposes positive-definite symmetric matrices into either upper or lower triangles:

L*LT=A
RT*R=A

where L is a lower triangular matrix and R is an upper triangular matrix. This is typically used to invert matrices, such as a covariance matrix.

Author:
Peter Abeles
See Also:
CholeskyDecompositionInner, CholeskyDecompositionBlock, CholeskyDecompositionLDL

Method Summary
 MatrixType getT(MatrixType T)
           Returns the triangular matrix from the decomposition.
 boolean isLower()
          If true the decomposition was for a lower triangular matrix.
 
Methods inherited from interface org.ejml.alg.dense.decomposition.DecompositionInterface
decompose, inputModified
 

Method Detail

isLower

boolean isLower()
If true the decomposition was for a lower triangular matrix. If false it was for an upper triangular matrix.

Returns:
True if lower, false if upper.

getT

MatrixType getT(MatrixType T)

Returns the triangular matrix from the decomposition.

If an input is provided that matrix is used to write the results to. Otherwise a new matrix is created and the results written to it.

Parameters:
T - If not null then the decomposed matrix is written here.
Returns:
A lower or upper triangular matrix.


Copyright © 2012. All Rights Reserved.