swap(3)
swap(3) β Library Functions Manual π β¨
π¦ NAME π¦
swap β swap: x <=> y
okay so bestie, this is the whole swap page: itβs giving βexchange two vectorsβ energy, and the function family is right here. no cap. π
β¨ SYNOPSIS β¨
π Functions π
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
πΈ Detailed Description πΈ
the detailed description zone is literally here, and the function-by-function tea is right below. keep scrolling, bestie. π«Ά
π Function Documentation π
π cswap π
subroutine cswap (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)
CSWAP
Purpose: CSWAP interchanges two vectors. β¨
Parameters:
Nβ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 ofCXCYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYβINCY is INTEGER; storage spacing between elements ofCY
Author:
- Univ. of Tennessee
- 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(*)
Definition at line 80 of file cswap.f.
π dswap π
subroutine dswap (integer n, double precision, dimension(*) dx, integer incx, double precision, dimension(*) dy, integer incy)
DSWAP
Purpose: DSWAP interchanges two vectors. and uses unrolled loops for increments equal to 1. π₯
Parameters:
Nβ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 ofDXDYβDY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYβINCY is INTEGER; storage spacing between elements ofDY
Author:
- Univ. of Tennessee
- 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(*)
Definition at line 81 of file dswap.f.
π¦ sswap π¦
subroutine sswap (integer n, real, dimension(*) sx, integer incx, real, dimension(*) sy, integer incy)
SSWAP
Purpose: SSWAP interchanges two vectors. and uses unrolled loops for increments equal to 1. π
Parameters:
Nβ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 ofSXSYβSY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYβINCY is INTEGER; storage spacing between elements ofSY
Author:
- Univ. of Tennessee
- 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(*)
Definition at line 81 of file sswap.f.
π zswap π
subroutine zswap (integer n, complex*16, dimension(*) zx, integer incx, complex*16, dimension(*) zy, integer incy)
ZSWAP
Purpose: ZSWAP interchanges two vectors. π«
Parameters:
Nβ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 ofZXZYβZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )INCYβINCY is INTEGER; storage spacing between elements ofZY
Author:
- Univ. of Tennessee
- 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(*)
Definition at line 80 of file zswap.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole swap(3) page, bestie β source/version is LAPACK Version 3.12.0, and the page is swap(3). periodt. π«Άβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms