Zeroes out the row and column corresponding to the given indices.
Afterwards diagonal_factor
is introduced in that row/column on the main diagonal.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(matrix_t), | intent(inout) | :: | matrix | the matrix under consideration |
||
integer, | intent(in) | :: | idxs(:) | indices of the row and column to zero out |
||
integer, | intent(in) | :: | limits(2) | (start, end) limits of quadblock corresponding to (start, start):(end, end) |