swap Interface

public interface swap

Swaps two arrays

Calls

interface~~swap~~CallsGraph interface~swap swap proc~swap_integer swap_integer interface~swap->proc~swap_integer proc~swap_complex swap_complex interface~swap->proc~swap_complex proc~swap_real swap_real interface~swap->proc~swap_real

Contents


Module Procedures

public elemental subroutine swap_integer(a, b)

Arguments

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

public elemental subroutine swap_real(a, b)

Arguments

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

public elemental subroutine swap_complex(a, b)

Arguments

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