swap(3) | LAPACK | swap(3) |
swap - swap: x <=> y
subroutine cswap (n, cx, incx, cy, incy)
CSWAP subroutine dswap (n, dx, incx, dy, incy)
DSWAP subroutine sswap (n, sx, incx, sy, incy)
SSWAP subroutine zswap (n, zx, incx, zy, incy)
ZSWAP
CSWAP
Purpose:
CSWAP interchanges two vectors.
Parameters
N is INTEGER number of elements in input vector(s)
CX
CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER storage spacing between elements of CX
CY
CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER storage spacing between elements of CY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
DSWAP
Purpose:
DSWAP interchanges two vectors. uses unrolled loops for increments equal to 1.
Parameters
N is INTEGER number of elements in input vector(s)
DX
DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER storage spacing between elements of DX
DY
DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER storage spacing between elements of DY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
SSWAP
Purpose:
SSWAP interchanges two vectors. uses unrolled loops for increments equal to 1.
Parameters
N is INTEGER number of elements in input vector(s)
SX
SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER storage spacing between elements of SX
SY
SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER storage spacing between elements of SY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
jack dongarra, linpack, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
ZSWAP
Purpose:
ZSWAP interchanges two vectors.
Parameters
N is INTEGER number of elements in input vector(s)
ZX
ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
INCX
INCX is INTEGER storage spacing between elements of ZX
ZY
ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
INCY
INCY is INTEGER storage spacing between elements of ZY
Author
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Further Details:
jack dongarra, 3/11/78. modified 12/3/93, array(1) declarations changed to array(*)
Generated automatically by Doxygen for LAPACK from the source code.
Fri Aug 9 2024 02:33:22 | Version 3.12.0 |