set_element Subroutine

private pure subroutine set_element(this, row, col, element)

Sets the element $a_{ij}$ of the original array into the banded structure. The row and col arguments refer to the row and column indices of the element in the original array. This routine has no effect if the location falls outside of the banded structure.

Arguments

TypeIntentOptionalAttributesName
class(banded_matrix_t), intent(inout) :: this

type instance

integer, intent(in) :: row

row index of element

integer, intent(in) :: col

column index of element

complex(kind=dp), intent(in) :: element

value for the element at (row, col)


Contents

None