SSWAP(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… 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