Computes \((A + UCV)^{-1} b\) in \(O(nk^2 + k^3)\) time using the Woodbury matrix identity, avoiding an \(O(n^3)\) refactorisation of the updated matrix.
Arguments
- A_factor
An
amCholobject fromchol_factor(), or a square numeric matrix that is automatically Cholesky-factored.- U
Numeric matrix of shape
[n, k]; low-rank left factor.- b
Numeric matrix of shape
[n, rhs]; right-hand side(s).- V
Numeric matrix of shape
[k, n]; low-rank right factor. Defaults tot(U)(symmetric update).- C_inv
Numeric matrix of shape
[k, k]; inverse of the central factor \(C\). Defaults todiag(k)(pure rank-k update with \(C = I\)).