Description Usage Arguments Value Note
Given the lower triangular matrix L obtained from the Cholesky decomposition of A,
function chol_downdate
updates L such that it corresponds to the decomposition of A - u*u'
(if such decomposition exists).
1 | chol_downdate(L, u)
|
L |
A lower triangular matrix. Strictly upper diagonal part is not referenced. |
u |
A vector with with length matching with the dimensions of L. |
Updated L.
The function does not check that the resulting matrix is positive semidefinite.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.