zero_out_row_and_col Subroutine

private subroutine zero_out_row_and_col(matrix, idxs, limits)

Zeroes out the row and column corresponding to the given indices. Afterwards diagonal_factor is introduced in that row/column on the main diagonal.

Arguments

TypeIntentOptionalAttributesName
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)


Contents

None