SSWAP(3)
π SSWAP(3)
ok so this is the manual page for SSWAP β she lives in the LAPACK BLAS zone and she's here to swap ur vectors bestie β¨
ngl the "name" on the original is literally just the whole file path, iconic behavior honestly:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/sswap.f
that's it, that's the name π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SSWAP (n, sx, incx, sy, incy)β SSWAP π«
π¦ Function/Subroutine Documentation
subroutine SSWAP (integer n, real, dimension(*) sx, integer incx, real, dimension(*) sy, integer incy)
SSWAP πΈ
Purpose:
!>
!> SSWAP interchanges two vectors.
!> uses unrolled loops for increments equal to 1.
!>
ok so real talk: SSWAP interchanges two vectors β like, swaps them, trades their whole fit π and lowkey it uses unrolled loops for increments equal to 1, which is the little speed hack, iykyk β‘
Parameters
N
!> N is INTEGER
!> number of elements in input vector(s)
!>
N is INTEGER β it's how many elements are in ur input vector(s) π
SX
!> SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>
SX is a REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ) β that's the exact size, no cap π«Ά
INCX
!> INCX is INTEGER
!> storage spacing between elements of SX
!>
INCX is INTEGER β the storage spacing between elements of SX π
SY
!> SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
!>
SY is a REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ) β yes it uses INCY, not a typo, she's her own girl π
INCY
!> INCY is INTEGER
!> storage spacing between elements of SY
!>
INCY is INTEGER β the storage spacing between elements of SY π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad π«Άβ¨
π₯ Further Details:
!>
!> jack dongarra, linpack, 3/11/78.
!> modified 12/3/93, array(1) declarations changed to array(*)
!>
so jack dongarra, linpack, 3/11/78 β and then it got modified 12/3/93, when the array(1) declarations changed to array(*). a glow-up for the ages π
Definition at line 81 of file sswap.f. fr fr, line 81, go look π
β Author
Generated automatically by Doxygen for LAPACK from the source code π€β¨ (she's not hand-written, she's built different)
and that's the whole vibe!! LAPACK, Version 3.12.0, from /home/abui...SRC/sswap.f(3) β okay bye bestie, go swap some vectors, slay ππΈπ§ββοΈ
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms