public class CholeskyInner extends CholeskyCommon
This implementation of a Cholesky decomposition using the inner-product form.
For large matrices a block implementation is better. On larger matrices the lower triangular
decomposition is significantly faster. This is faster on smaller matrices than CholeskyDecompositionBlock
but much slower on larger matrices.
n, t, T, vv| Constructor and Description |
|---|
CholeskyInner() |
| Modifier and Type | Method and Description |
|---|---|
static ICholeskyResult |
decompose(AMatrix mat)
Computes the Cholesky LDU Decomposition (A = LDU) of a matrix.
|
protected CholeskyResult |
decomposeLower()
Performs an lower triangular decomposition.
|
_decomposepublic static ICholeskyResult decompose(AMatrix mat)
Computes the Cholesky LDU Decomposition (A = LDU) of a matrix.
If the matrix is not positive definite then this function will return null since it can't complete its computations. Not all errors will be found. This is an efficient way to check for positive definiteness.
mat - A symmetric positive definite matrixprotected CholeskyResult decomposeLower()
CholeskyCommondecomposeLower in class CholeskyCommonCopyright © 2016. All rights reserved.