mikera.matrixx.solve.impl
Class CholeskyLDUSolver
- java.lang.Object
-
- mikera.matrixx.solve.impl.CholeskyLDUSolver
-
public class CholeskyLDUSolver extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description CholeskyLDUSolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AMatrixinvert()returns the matrix 'inv' equal to the inverse of the matrix that was decomposed.doublequality()booleansetA(AMatrix _A)AMatrixsolve(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.
-
-
-
Method Detail
-
setA
public boolean setA(AMatrix _A)
-
quality
public double quality()
-
solve
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.
- Parameters:
B- A matrix that is n by m. Not modified.X- An n by m matrix where the solution is writen to. Modified.
-
invert
public AMatrix invert()
returns the matrix 'inv' equal to the inverse of the matrix that was decomposed.- Returns:
- inverse of matrix that was decomposed
-
-
DMelt 3.0 © DataMelt by jWork.ORG