|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.util.math.LUDecomposition
public final class LUDecomposition
LU matrix decomposition.
The LU decomposition is a lower triangular matrix L, an upper triangular matrix U,
and a permutation size
-long pivot vector.
This class is a specialized adaptation from the original JAMA (Java Matrix Package) project, brought to the public domain by The MathWorks, Inc. and the National Institute of Standards and Technology.
Constructor Summary | |
---|---|
LUDecomposition(SquareMatrix matrix)
|
Method Summary | |
---|---|
double |
getDet()
Gets the determinant. |
SquareMatrix |
getL()
Gets the lower triangular factor. |
int[] |
getPivot()
Gets the pivot permutation vector. |
SquareMatrix |
getU()
Gets the upper triangular factor. |
boolean |
isNonsingular()
Gets whether the matrix is non-singular. |
SquareMatrix |
solve(SquareMatrix target)
Solves [this] * [return] = [target] |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LUDecomposition(SquareMatrix matrix)
matrix
- Matrix to decompose.Method Detail |
---|
public double getDet()
public SquareMatrix getL()
public SquareMatrix getU()
public int[] getPivot()
public boolean isNonsingular()
public SquareMatrix solve(SquareMatrix target)
target
- Resulting matrix.
IllegalArgumentException
- Matrix sizes must agree.
RuntimeException
- Matrix is singular.
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |