|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.numerics.LUPDecomposition
Lower Upper Permutation (LUP) decomposition See Object Oriented Implementation of Numerical Methods by Didier H. Besset.
Constructor Summary | |
LUPDecomposition(double[][] components)
Constructor method |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LUPDecomposition(double[][] components) throws java.lang.IllegalArgumentException
components
- double[][]
DhbMatrixAlgebra.DhbIllegalDimension
- the supplied matrix is not square
java.lang.IllegalArgumentException
Method Detail |
public double determinant()
public double[][] inverseMatrixComponents()
public static void symmetrizeComponents(double[][] components)
components
- doublepublic double[] solve(double[] c)
c
- double[]
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |