csr_times_vec_single Function

public pure function csr_times_vec_single(a, x, row)

Computes element row of vector y = A*x Thread safe, i.e. can be called from within parallel region

Arguments

Type IntentOptional Attributes Name
type(csrmat_t), intent(in) :: a

csr matrix

real(kind=FP), intent(in), dimension(a%ncol) :: x

vector x

integer, intent(in) :: row

row of matrix

Return Value real(kind=fp)