Learn R Programming

KFAS (version 1.0.3)

ldl: LDL Decomposition of a Matrix

Description

Function ldl computes the LDL decomposition of a positive semidefinite matrix.

Usage

ldl(x, tol = max(abs(diag(x))) * .Machine$double.eps)

Arguments

x
Symmetrix matrix.
tol
Tolerance parameter for LDL decomposition, determines which diagonal values are counted as zero. Same value is used in isSymmetric function.

Value

  • Transformed matrix with D in diagonal, L in strictly lower diagonal and zeros on upper diagonal.