View source: R/kernel-to-matrices.R
chol_inv_jitter | R Documentation |
Inverse a matrix from its Choleski decomposition. If (nearly-)singular, increase the order of magnitude of the jitter term added to the diagonal until the matrix becomes non-singular.
chol_inv_jitter(mat, pen_diag)
mat |
A matrix, possibly singular. |
pen_diag |
A number, a jitter term to add on the diagonal. |
A matrix, inverse of mat
plus an adaptive jitter term
added on the diagonal.
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.