Skip to content

num::cholesky_downdate

Defined in header <linear/factorization/cholesky.hpp>

void cholesky_downdate(cholesky_result &factor, const vec<real> &update);

Downdate a Cholesky factor for a rank-1 change: \(A \leftarrow A - x x^T\), \(O(n^2)\).

Exceptions

  • std::runtime_error: If the result is not positive definite.