d4_gemv Interface

public interface d4_gemv

Performs one of the matrix-vector operations

y := alphaAx + betay, or y := alphaATx + betay,

where alpha and beta are scalars, x and y are vectors and A is an m by n matrix.


Module Procedures

private pure subroutine d4_sgemv(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in) :: amat(:,:)
real(kind=sp), intent(in) :: xvec(:)
real(kind=sp), intent(inout) :: yvec(:)
real(kind=sp), intent(in), optional :: alpha
real(kind=sp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans

private pure subroutine d4_dgemv(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: amat(:,:)
real(kind=dp), intent(in) :: xvec(:)
real(kind=dp), intent(inout) :: yvec(:)
real(kind=dp), intent(in), optional :: alpha
real(kind=dp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans

private subroutine d4_sgemv312(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in), contiguous, target :: amat(:,:,:)
real(kind=sp), intent(in) :: xvec(:)
real(kind=sp), intent(inout), contiguous, target :: yvec(:,:)
real(kind=sp), intent(in), optional :: alpha
real(kind=sp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans

private subroutine d4_sgemv321(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(in), contiguous, target :: amat(:,:,:)
real(kind=sp), intent(in), contiguous, target :: xvec(:,:)
real(kind=sp), intent(inout) :: yvec(:)
real(kind=sp), intent(in), optional :: alpha
real(kind=sp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans

private subroutine d4_dgemv312(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), contiguous, target :: amat(:,:,:)
real(kind=dp), intent(in) :: xvec(:)
real(kind=dp), intent(inout), contiguous, target :: yvec(:,:)
real(kind=dp), intent(in), optional :: alpha
real(kind=dp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans

private subroutine d4_dgemv321(amat, xvec, yvec, alpha, beta, trans)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in), contiguous, target :: amat(:,:,:)
real(kind=dp), intent(in), contiguous, target :: xvec(:,:)
real(kind=dp), intent(inout) :: yvec(:)
real(kind=dp), intent(in), optional :: alpha
real(kind=dp), intent(in), optional :: beta
character(len=1), intent(in), optional :: trans