SpMV_CRS_Sparse Subroutine

public subroutine SpMV_CRS_Sparse(CRS_value, CRS_col, CRS_row_ptr, Old_vector, new_vector, precondition)

x_i = A_ij b_j

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: CRS_value(:)
integer(kind=int32), intent(in) :: CRS_col(:)
integer(kind=int64), intent(in) :: CRS_row_ptr(:)
real(kind=real64), intent(in) :: Old_vector(:)
real(kind=real64), intent(inout), allocatable :: new_vector(:)
type(CRS_), intent(in), optional :: precondition