swap Interface

public interface swap

Contents


Module Procedures

public subroutine swap_i(a, b)

Arguments

Type IntentOptional AttributesName
integer(kind=I4B), intent(inout) :: a
integer(kind=I4B), intent(inout) :: b

public subroutine swap_r(a, b)

Arguments

Type IntentOptional AttributesName
real(kind=SP), intent(inout) :: a
real(kind=SP), intent(inout) :: b

public subroutine swap_rv(a, b)

Arguments

Type IntentOptional AttributesName
real(kind=SP), intent(inout), DIMENSION(:):: a
real(kind=SP), intent(inout), DIMENSION(:):: b

public subroutine swap_c(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=SPC), intent(inout) :: a
complex(kind=SPC), intent(inout) :: b

public subroutine swap_cv(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=SPC), intent(inout), DIMENSION(:):: a
complex(kind=SPC), intent(inout), DIMENSION(:):: b

public subroutine swap_cm(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=SPC), intent(inout), DIMENSION(:,:):: a
complex(kind=SPC), intent(inout), DIMENSION(:,:):: b

public subroutine swap_z(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=DPC), intent(inout) :: a
complex(kind=DPC), intent(inout) :: b

public subroutine swap_zv(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=DPC), intent(inout), DIMENSION(:):: a
complex(kind=DPC), intent(inout), DIMENSION(:):: b

public subroutine swap_zm(a, b)

Arguments

Type IntentOptional AttributesName
complex(kind=DPC), intent(inout), DIMENSION(:,:):: a
complex(kind=DPC), intent(inout), DIMENSION(:,:):: b

public subroutine masked_swap_rs(a, b, mask)

Arguments

Type IntentOptional AttributesName
real(kind=SP), intent(inout) :: a
real(kind=SP), intent(inout) :: b
logical(kind=LGT), intent(in) :: mask

public subroutine masked_swap_rv(a, b, mask)

Arguments

Type IntentOptional AttributesName
real(kind=SP), intent(inout), DIMENSION(:):: a
real(kind=SP), intent(inout), DIMENSION(:):: b
logical(kind=LGT), intent(in), DIMENSION(:):: mask

public subroutine masked_swap_rm(a, b, mask)

Arguments

Type IntentOptional AttributesName
real(kind=SP), intent(inout), DIMENSION(:,:):: a
real(kind=SP), intent(inout), DIMENSION(:,:):: b
logical(kind=LGT), intent(in), DIMENSION(:,:):: mask