public class MatthewsDavies extends DenseMatrix
| Constructor and Description |
|---|
MatthewsDavies(Matrix H)
Construct a symmetric, positive definite matrix using the Matthews-Davies algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
DiagonalMatrix |
D()
Get the diagonal matrix D in the LDL decomposition.
|
DiagonalMatrix |
Dhat()
Get the modified diagonal matrix which is positive definite.
|
LowerTriangularMatrix |
L()
Get the lower triangular matrix L in the LDL decomposition.
|
UpperTriangularMatrix |
Lt()
Get the transpose of the lower triangular matrix L in the LDL decomposition.
|
public MatthewsDavies(Matrix H)
H - a non-positive definite matrixpublic LowerTriangularMatrix L()
public UpperTriangularMatrix Lt()
public DiagonalMatrix D()
public DiagonalMatrix Dhat()