set_dense Subroutine

private subroutine set_dense(self, row, col, value)

Type Bound

type_dense

Arguments

Type IntentOptional Attributes Name
class(type_dense), intent(inout) :: self
integer(kind=int32), intent(in) :: row
integer(kind=int32), intent(in) :: col
real(kind=real64), intent(in) :: value

Source Code

    subroutine set_dense(self, row, col, value)
        implicit none
        class(type_dense), intent(inout) :: self
        integer(int32), intent(in) :: row, col
        real(real64), intent(in) :: value

        self%val(row, col) = value

    end subroutine set_dense