csr_times_vec Subroutine

public subroutine csr_times_vec(a, x, y)

Multiplies matrix with 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

real(kind=FP), intent(out), dimension(a%ndim) :: y

vector y (result)