resymbol¶
- CholeskyFactor.resymbol(A, is_permuted=True)[source]¶
Recompute the symbolic Cholesky factorization of a sparse matrix.
This function is useful after a series of downdates via
update()orrowdel(), since downdates do not remove any entries inL[1].- Parameters:
A ((N, N) csc_array) – The input matrix in Compressed Sparse Column (CSC) format. Must be square and symmetric. Only the lower triangular part of
Ais used, and no check is made for symmetry. The numerical values ofAare ignored. Only its non-zero pattern is used.Note
The input matrix
Ais expected to be the permuted matrix \(P A P^{\top}\), where P is the permutation matrix corresponding to the permutation vector returned byget_perm().is_permuted (bool) – If True (default), the input matrix
Ais assumed to be permuted by the fill-reducing permutation used in the factorization: \(P A P^{\top}\). If False,Ais assumed to be in the original ordering.
- Returns:
CholeskyFactor– The current object, for method chaining.
References
Added in version 0.5.0.