Skip to main content

MatVec

This routine performs matrix vector multiplication between CSRMatrix and dense vector.

Calling example:

CALL MatVec(CSRMatrix_::obj, Real::x(:), Real::y(:)[, Bool::transp])
CALL MatVec(Real::A(:), Integer::JA(:), Real::x(:), Real::y(:))

Interface

INTERFACE
MODULE SUBROUTINE MatVec(obj, x, y, transp)
TYPE(CSRMatrix_), INTENT(IN) :: obj
REAL(DFP), INTENT(IN) :: x(:)
REAL(DFP), INTENT(INOUT) :: y(:)
LOGICAL(LGT), OPTIONAL, INTENT(IN) :: transp
END SUBROUTINE MatVec
END INTERFACE