public class LDL
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
LDL(Matrix A)
Run the LDL decomposition on a real and symmetric (hence square) matrix.
|
LDL(Matrix A,
double epsilon)
Run the LDL decomposition on a real and symmetric (hence square) matrix.
|
| Modifier and Type | Method and Description |
|---|---|
DiagonalMatrix |
D()
Get D the the diagonal matrix in the LDL decomposition.
|
LowerTriangularMatrix |
L()
Get L as in the LDL decomposition.
|
UpperTriangularMatrix |
Lt()
Get the transpose of L as in the LDL decomposition.
|
public LDL(Matrix A, double epsilon)
A - a real and symmetric (hence square) matrixepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0java.lang.IllegalArgumentException - if A is not symmetricpublic LDL(Matrix A)
A - a real and symmetric (hence square) matrixjava.lang.IllegalArgumentException - if A is not symmetricpublic LowerTriangularMatrix L()
public UpperTriangularMatrix Lt()
public DiagonalMatrix D()