|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.factorization.gaussianelimination.GaussianElimination4SquareMatrix
public class GaussianElimination4SquareMatrix
This class is a wrapper for GaussianElimination but applies only to square matrices.
| Constructor Summary | |
|---|---|
GaussianElimination4SquareMatrix(Matrix A)
Construct an instance of GaussianElimination4SquareMatrix for a square matrix. |
|
GaussianElimination4SquareMatrix(Matrix A,
double epsilon)
Construct an instance of GaussianElimination4SquareMatrix for a square matrix. |
|
| Method Summary | |
|---|---|
LowerTriangularMatrix |
L()
Get a copy of the lower triangular matrix L as in
P %*% A == L %*% U |
PermutationMatrix |
P()
Get a copy of the permutation matrix P as in
P %*% A == L %*% U |
UpperTriangularMatrix |
U()
Get a copy of the upper triangular matrix U as in
P %*% A == L %*% U |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GaussianElimination4SquareMatrix(Matrix A,
double epsilon)
A - a square matrixepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0
java.lang.IllegalArgumentException - if A is not squarepublic GaussianElimination4SquareMatrix(Matrix A)
A - a square matrix
java.lang.IllegalArgumentException - if A is not square| Method Detail |
|---|
public LowerTriangularMatrix L()
LUDecompositionL as in
P %*% A == L %*% U
L in interface LUDecompositionLpublic UpperTriangularMatrix U()
LUDecompositionU as in
P %*% A == L %*% U
U in interface LUDecompositionUpublic PermutationMatrix P()
LUDecompositionP as in
P %*% A == L %*% U
P in interface LUDecompositionP
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||