public class LinearSolverChol extends LinearSolverAbstract_D64
A, numCols, numRows| Constructor and Description |
|---|
LinearSolverChol(CholeskyDecompositionCommon_D64 decomposer) |
| Modifier and Type | Method and Description |
|---|---|
org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.DenseMatrix64F> |
getDecomposition() |
void |
invert(org.ejml.data.DenseMatrix64F inv)
Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.
|
boolean |
modifiesA() |
boolean |
modifiesB() |
double |
quality() |
boolean |
setA(org.ejml.data.DenseMatrix64F A) |
void |
setToInverseL(double[] a)
Sets the matrix to the inverse using a lower triangular matrix.
|
void |
solve(org.ejml.data.DenseMatrix64F B,
org.ejml.data.DenseMatrix64F X)
Using the decomposition, finds the value of 'X' in the linear equation below:
A*x = b where A has dimension of n by n, x and b are n by m dimension. |
_setA, getApublic LinearSolverChol(CholeskyDecompositionCommon_D64 decomposer)
public boolean setA(org.ejml.data.DenseMatrix64F A)
public double quality()
public void solve(org.ejml.data.DenseMatrix64F B,
org.ejml.data.DenseMatrix64F X)
Using the decomposition, finds the value of 'X' in the linear equation below:
A*x = b
where A has dimension of n by n, x and b are n by m dimension.
*Note* that 'b' and 'x' can be the same matrix instance.
B - A matrix that is n by m. Not modified.X - An n by m matrix where the solution is writen to. Modified.public void invert(org.ejml.data.DenseMatrix64F inv)
invert in interface org.ejml.interfaces.linsol.LinearSolver<org.ejml.data.DenseMatrix64F>invert in class LinearSolverAbstract_D64inv - Where the value of the inverse will be stored. Modified.public void setToInverseL(double[] a)
public boolean modifiesA()
public boolean modifiesB()
public org.ejml.interfaces.decomposition.CholeskyDecomposition<org.ejml.data.DenseMatrix64F> getDecomposition()