stdlib_cswap Subroutine

public pure subroutine stdlib_cswap(n, cx, incx, cy, incy)

CSWAP interchanges two vectors.

Arguments

Type IntentOptional Attributes Name
integer(kind=ilp), intent(in) :: n
complex(kind=sp), intent(inout) :: cx(*)
integer(kind=ilp), intent(in) :: incx
complex(kind=sp), intent(inout) :: cy(*)
integer(kind=ilp), intent(in) :: incy