|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ujmp.core.doublematrix.calculation.general.decomposition.LU.LUMatrix
public static final class LU.LUMatrix
Constructor Summary | |
---|---|
LU.LUMatrix(Matrix A)
LU Decomposition |
Method Summary | |
---|---|
double |
det()
Determinant |
double[] |
getDoublePivot()
Return pivot permutation vector as a one-dimensional double array |
Matrix |
getL()
Return lower triangular factor |
Matrix |
getP()
|
int[] |
getPivot()
Return pivot permutation vector |
Matrix |
getU()
Return upper triangular factor |
boolean |
isNonsingular()
Is the matrix nonsingular? |
Matrix |
solve(Matrix B)
Solve A*X = B |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LU.LUMatrix(Matrix A)
A
- Rectangular matrixMethod Detail |
---|
public final boolean isNonsingular()
public final Matrix getL()
public final Matrix getU()
public final int[] getPivot()
public final Matrix getP()
public final double[] getDoublePivot()
public final double det()
IllegalArgumentException
- Matrix must be squarepublic final Matrix solve(Matrix B)
B
- A Matrix with as many rows as A and any number of columns.
IllegalArgumentException
- Matrix row dimensions must agree.
RuntimeException
- Matrix is singular.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |