cholrot.cholsolve¶
- cholrot.cholsolve(R, z, b, *, alpha=-1, lower=False, check=True)¶
Solve
(A + alpha*z*z.T) x = bwithout forming the modified matrix.The base SPD matrix
Ais represented by the Cholesky factorR:A = R.T @ Rfor an upper factor (lower=False), orA = R @ R.Tfor a lower factor (lower=True).
The computation uses the rank-one inverse identity and triangular solves with the original factor. It does not materialize
A + alpha*z*z.Tor the modified Cholesky factor.- Parameters:
R (ndarray)
z (ndarray)
b (ndarray)
alpha (float)
lower (bool)
check (bool)
- Return type:
ndarray