public class BlockCholeskyOuterSolver
extends java.lang.Object
implements org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>
Linear solver that uses a block cholesky decomposition.
Solver works by using the standard Cholesky solving strategy:
A=L*LT
A*x=b
L*LT*x = b
L*y = b
LT*x = y
x = L-Ty
It is also possible to use the upper triangular cholesky decomposition.
| Constructor and Description |
|---|
BlockCholeskyOuterSolver() |
| Modifier and Type | Method and Description |
|---|---|
org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.BlockMatrix64F> |
getDecomposition() |
void |
invert(org.ejml.data.BlockMatrix64F A_inv) |
boolean |
modifiesA() |
boolean |
modifiesB() |
double |
quality() |
boolean |
setA(org.ejml.data.BlockMatrix64F A)
Decomposes and overwrites the input matrix.
|
void |
solve(org.ejml.data.BlockMatrix64F B,
org.ejml.data.BlockMatrix64F X)
If X == null then the solution is written into B.
|
public boolean setA(org.ejml.data.BlockMatrix64F A)
setA in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>A - Semi-Positive Definite (SPD) system matrix. Modified. Reference saved.public double quality()
quality in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>public void solve(org.ejml.data.BlockMatrix64F B,
org.ejml.data.BlockMatrix64F X)
solve in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>public void invert(org.ejml.data.BlockMatrix64F A_inv)
invert in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>public boolean modifiesA()
modifiesA in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>public boolean modifiesB()
modifiesB in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>public org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.BlockMatrix64F> getDecomposition()
getDecomposition in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.BlockMatrix64F>