Class CholeskyDecompositionBlock_MT_DDRM
java.lang.Object
org.ejml.dense.row.decomposition.chol.CholeskyDecompositionCommon_DDRM
org.ejml.dense.row.decomposition.chol.CholeskyDecompositionBlock_DDRM
org.ejml.dense.row.decomposition.chol.CholeskyDecompositionBlock_MT_DDRM
- All Implemented Interfaces:
CholeskyDecomposition<DMatrixRMaj>
,CholeskyDecomposition_F64<DMatrixRMaj>
,DecompositionInterface<DMatrixRMaj>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCholeskyDecompositionBlock_MT_DDRM
(int blockWidth) Creates a CholeksyDecomposition capable of decomposing a matrix that is n by n, where n is the width. -
Method Summary
Modifier and TypeMethodDescriptionvoid
solveL_special
(double[] L, DMatrixRMaj b_src, int indexSrc, int indexDst, DMatrixRMaj B) This is a variation on theTriangularSolver_DDRM.solveL(double[], double[], int)
function.void
symmRankTranA_sub
(DMatrixRMaj a, DMatrixRMaj c, int startIndexC) Performs this operation:
c = c - aTa
where c is a submatrix.Methods inherited from class org.ejml.dense.row.decomposition.chol.CholeskyDecompositionBlock_DDRM
decomposeLower, decomposeUpper, setExpectedMaxSize
Methods inherited from class org.ejml.dense.row.decomposition.chol.CholeskyDecompositionCommon_DDRM
_getVV, computeDeterminant, decompose, getT, getT, inputModified, isLower
-
Constructor Details
-
CholeskyDecompositionBlock_MT_DDRM
public CholeskyDecompositionBlock_MT_DDRM(int blockWidth) Creates a CholeksyDecomposition capable of decomposing a matrix that is n by n, where n is the width.- Parameters:
blockWidth
- The width of a block.
-
-
Method Details
-
solveL_special
public void solveL_special(double[] L, DMatrixRMaj b_src, int indexSrc, int indexDst, DMatrixRMaj B) Description copied from class:CholeskyDecompositionBlock_DDRM
This is a variation on theTriangularSolver_DDRM.solveL(double[], double[], int)
function. It grabs the input from the top right row rectangle of the source matrix then writes the results to the lower bottom column rectangle. The rectangle matrices just matrices are submatrices of the matrix that is being decomposed. The results are also written to B.- Overrides:
solveL_special
in classCholeskyDecompositionBlock_DDRM
- Parameters:
L
- A lower triangular matrix.b_src
- matrix with the vectors that are to be solved forindexSrc
- First index of the submatrix where the inputs are coming from.indexDst
- First index of the submatrix where the results are going to.
-
symmRankTranA_sub
Description copied from class:CholeskyDecompositionBlock_DDRM
Performs this operation:
Only the upper triangle is updated.
c = c - aTa
where c is a submatrix.- Overrides:
symmRankTranA_sub
in classCholeskyDecompositionBlock_DDRM
- Parameters:
a
- A matrix.c
- A matrix.startIndexC
- start of the submatrix in c.
-