swap Interface

public interface swap

Swaps two arrays


Module Procedures

public elemental subroutine swap_integer(a, b)

Arguments

Type IntentOptional Attributes Name
integer, intent(inout) :: a
integer, intent(inout) :: b

public elemental subroutine swap_real(a, b)

Arguments

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

public elemental subroutine swap_complex(a, b)

Arguments

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