Computes \(\log|A + UCV|\) using the matrix determinant lemma in \(O(nk^2 + k^3)\) time, reusing an existing Cholesky factor of \(A\).
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.- 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).