public class LUPDecomposition
extends java.lang.Object
| Constructor and Description |
|---|
LUPDecomposition(double[][] components)
Constructor method
|
| Modifier and Type | Method and Description |
|---|---|
double |
determinant()
Gets the determinant.
|
double[][] |
inverseMatrixComponents()
Calculates the inverse matrix components.
|
double[] |
solve(double[] c) |
static void |
symmetrizeComponents(double[][] components)
Make sure the supplied matrix components are those of
a symmetric matrix
|
java.lang.String |
toString()
Returns a String that represents the value of this object.
|
public LUPDecomposition(double[][] components)
throws java.lang.IllegalArgumentException
components - double[][]DhbMatrixAlgebra.DhbIllegalDimension - the supplied matrix is not squarejava.lang.IllegalArgumentExceptionpublic double determinant()
public double[][] inverseMatrixComponents()
public static void symmetrizeComponents(double[][] components)
components - doublepublic double[] solve(double[] c)
c - double[]public java.lang.String toString()
toString in class java.lang.Object