mfi_axpy Interface

public interface mfi_axpy

Generic modern interface for AXPY. Supports s, d, c, z. See also: saxpy, daxpy, caxpy, zaxpy.


Module Procedures

public pure subroutine mfi_saxpy(x, y, a, incx, incy)

Modern interface for saxpy. See also: mfi_axpy, f77_axpy.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL32), intent(in) :: x(:)
real(kind=REAL32), intent(inout) :: y(:)
real(kind=REAL32), intent(in), optional :: a
integer, intent(in), optional :: incx
integer, intent(in), optional :: incy

public pure subroutine mfi_daxpy(x, y, a, incx, incy)

Modern interface for daxpy. See also: mfi_axpy, f77_axpy.

Arguments

Type IntentOptional Attributes Name
real(kind=REAL64), intent(in) :: x(:)
real(kind=REAL64), intent(inout) :: y(:)
real(kind=REAL64), intent(in), optional :: a
integer, intent(in), optional :: incx
integer, intent(in), optional :: incy

public pure subroutine mfi_caxpy(x, y, a, incx, incy)

Modern interface for caxpy. See also: mfi_axpy, f77_axpy.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL32), intent(in) :: x(:)
complex(kind=REAL32), intent(inout) :: y(:)
complex(kind=REAL32), intent(in), optional :: a
integer, intent(in), optional :: incx
integer, intent(in), optional :: incy

public pure subroutine mfi_zaxpy(x, y, a, incx, incy)

Modern interface for zaxpy. See also: mfi_axpy, f77_axpy.

Arguments

Type IntentOptional Attributes Name
complex(kind=REAL64), intent(in) :: x(:)
complex(kind=REAL64), intent(inout) :: y(:)
complex(kind=REAL64), intent(in), optional :: a
integer, intent(in), optional :: incx
integer, intent(in), optional :: incy