public class CholeskyLDUSolver extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Matrix |
A |
protected int |
numCols |
protected int |
numRows |
| Constructor and Description |
|---|
CholeskyLDUSolver() |
| Modifier and Type | Method and Description |
|---|---|
AMatrix |
invert()
returns the matrix 'inv' equal to the inverse of the matrix that was decomposed.
|
double |
quality() |
boolean |
setA(AMatrix _A) |
AMatrix |
solve(AMatrix B)
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. |
protected Matrix A
protected int numRows
protected int numCols
public boolean setA(AMatrix _A)
public double quality()
public AMatrix solve(AMatrix B)
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 AMatrix invert()
Copyright © 2016. All rights reserved.