cholupdate: Rank 1 update to Cholesky factorization
Description
function cholupdate returns the upper triangular Cholesky factor of
\(\bold{A} + \bold{xx}^T\), where \(\bold{R}\) is the original Cholesky
factor of \(\bold{A} = \bold{R}^T\bold{R}\), with \(\bold{x}\) a column
vector of appropriate dimension.
Usage
cholupdate(r, x)
Arguments
r
a upper triangular matrix, the Cholesky factor of matrix a.
x
vector defining the rank one update.
References
Golub, G.H., Van Loan, C.F. (2013).
Matrix Computations, 4th Edition.
John Hopkins University Press.