Learn R Programming

gmat (version 0.2.1)

uchol: Get the upper factor of the upper Cholesky decomposition of a symmetric positive definite matrix.

Description

Get the upper factor of the upper Cholesky decomposition of a symmetric positive definite matrix.

Usage

uchol(m)

Arguments

m

Matrix to factorize.

Value

A p*p upper triangular matrix.

Details

The upper factor U such that m = U %*% t(U). U is equal to the transpose with respect to the anti-diagonal of the standard Cholesky factor L in m_rev = L %*% t(L), where m_rev is the matrix resulting from reverting the order of rows and columns in m (see C<U+00F3>rdoba et al., 2019, Section 2.2 for more details). The function uses the base chol method.

References

C<U+00F3>rdoba I., Varando G., Bielza C., Larra<U+00F1>aga P., Generating random Gaussian graphical models, arXiv:1909.01062, 2019.