public class CholeskyHelper extends Object
CholeskyDecompositionBlock perform its calculations. While decomposing
the matrix it will modify its internal lower triangular matrix and the original
that is being modified.| Constructor and Description |
|---|
CholeskyHelper(int widthMax)
Creates a CholeksyDecomposition capable of decomposing a matrix that is
n by n, where n is the width.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
decompose(AMatrix mat,
int indexStart,
int n)
Decomposes a submatrix.
|
AMatrix |
getL()
Returns L matrix from the decomposition.
L*LT=A |
public CholeskyHelper(int widthMax)
widthMax - The maximum width of a matrix that can be processed.public boolean decompose(AMatrix mat, int indexStart, int n)
mat - A matrix which has a submatrix that needs to be invertedindexStart - the first index of the submatrixn - The width of the submatrix that is to be inverted.public AMatrix getL()
Copyright © 2016. All rights reserved.