rowadd¶
- CholeskyFactor.rowadd(k, C)[source]¶
Add a row to a sparse LDL factorization.
Compute a rank-1 update of a sparse LDL factorization. This method “adds” a row by setting the \(k^{th}\) row and column of the original matrix to
C.- Parameters:
k (int \(\in [0, N)\)) – The row/column index to modify.
C ((N, 1) csc_array, optional) – If given, change the factorization such that row and column
kof the original matrix equalC. The number of rows must match that ofLandD.
- Returns:
CholeskyFactor – The current object, for method chaining.
.. versionadded:: 0.5.0