BLAS/SRC/zswap.f(3)

πŸ’… BLAS/SRC/zswap.f(3) πŸ’…

okay bestie, welcome to the Library Functions Manual page for BLAS/SRC/zswap.f(3). This one is all about zswap, and it's lowkey iconic: a whole subroutine whose entire personality is interchanging two vectors. No cap. πŸ¦‹

🌸 NAME 🌸

BLAS/SRC/zswap.f

✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine zswap (n, zx, incx, zy, incy) β€” ZSWAP

πŸŽ€ Function/Subroutine Documentation πŸŽ€

subroutine zswap (integer n, complex*16, dimension(*) zx, integer incx,
       complex*16, dimension(*) zy, integer incy)

ZSWAP

πŸ’– Purpose πŸ’–

!>
!>    ZSWAP interchanges two vectors.
!>

Translation, bestie: ZSWAP interchanges two vectors. That's the assignment. Main character energy from start to finish. πŸ’«

πŸ§ͺ Parameters πŸ§ͺ

N

!>          N is INTEGER
!>         number of elements in input vector(s)
!>

N is INTEGER β€” the number of elements in input vector(s). Count 'em, don't fudge 'em. πŸ’…

ZX

!>          ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>

ZX is a COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). That's the exact shape, bestie β€” no rounding. 🫢

INCX

!>          INCX is INTEGER
!>         storage spacing between elements of ZX
!>

INCX is INTEGER, the storage spacing between elements of ZX. It's giving stride energy. ✨

ZY

!>          ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
!>

ZY is a COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). Matching shape notation, matching slay. πŸŽ€

INCY

!>          INCY is INTEGER
!>         storage spacing between elements of ZY
!>

INCY is INTEGER, the storage spacing between elements of ZY. Yes bestie, the spacing is a whole parameter. πŸ’œ

πŸ‘‘ 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(*)
!>

The source says it exactly like that: jack dongarra, 3/11/78. and modified 12/3/93, array(1) declarations changed to array(*). Receipts included. 🧾

Definition at line 80 of file zswap.f.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.


okay that's the whole page, bestie πŸ’– β€” LAPACK Version 3.12.0, source BLAS/SRC/zswap.f(3), and the footer doesn't add a separate date. Byeee! πŸŽ€

πŸ“¦ where this page comes from