mfi_swap Interface

public interface mfi_swap

Generic modern interface for SWAP. Supports s, d, c, z. See also: sswap, dswap, cswap, zswap.


Module Procedures

public pure subroutine mfi_sswap(x, y, incx, incy)

Modern interface for sswap. See also: mfi_swap, f77_swap.

Arguments

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

public pure subroutine mfi_dswap(x, y, incx, incy)

Modern interface for dswap. See also: mfi_swap, f77_swap.

Arguments

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

public pure subroutine mfi_cswap(x, y, incx, incy)

Modern interface for cswap. See also: mfi_swap, f77_swap.

Arguments

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

public pure subroutine mfi_zswap(x, y, incx, incy)

Modern interface for zswap. See also: mfi_swap, f77_swap.

Arguments

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