ldl
The LDL decomposition
Description
Compute the LDL decomposition of a real symmetric matrix.
Usage
Arguments
| Argument | Description |
|---|---|
x |
a symmetric numeric matrix whose LDL decomposition is to be computed. |
Value
The factorization has the form \(\mathbf{X} = \mathbf{LDL}^T\) , where \(\mathbf{D}\) is a diagonal matrix and \(\mathbf{L}\) is unitary lower triangular.
The LDL decomposition of x is returned as a list with components:
| Value | Description |
|---|---|
lower |
the unitary lower triangular factor \(\mathbf{L}\). |
d |
a vector containing the diagonal elements of \(\mathbf{D}\). |
Seealso
References
Golub, G.H., Van Loan, C.F. (1996). Matrix Computations , 3rd Edition. John Hopkins University Press.