BLAS/SRC/zswap.f(3)
β¨ NAME β¨
BLAS/SRC/zswap.f β bestie, this is the file we're talking about, it lives in the BLAS folder under SRC and it's a Fortran file ending in .f π
(this page is from the LAPACK manual, just so you know who's hosting the party)
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine zswap (n, zx, incx, zy, incy)β aka ZSWAP, the icon herself π
π 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. that's it. that's the whole job. she swaps them. no cap. two vectors walk in, two vectors walk out, but likeβ¦ the other way around. obsessed honestly β¨
π Parameters
NβNisINTEGER, and it's the number of elements in the input vector(s), so basically how many lil guys we're shuffling around π«ΆZXβZXisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCX ) ). yes the dimension is literally that whole expression, write it down exactly bestie, don't get cute with it πINCXβINCXisINTEGER, the storage spacing between elements ofZX. so like, are you stepping one at a time or are you striding like a runway model? πZYβZYisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCY ) ). same deal, different vector, same exact energy πINCYβINCYisINTEGER, the storage spacing between elements ofZY. the stride forZY, matchingINCX's whole vibe but for the other one π
β Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four whole institutions on the credits. group project but everyone actually showed up π
π¦ Further Details:
jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
so jack dongarra wrote this back in 3/11/78 (an actual legend), and then on 12/3/93 somebody came through and changed the array(1) declarations to array(*) β glow-up of the century honestly π
π Definition at line 80 of file zswap.f.
π« Author
Generated automatically by Doxygen for LAPACK from the source code. (not a human, not a bestie, just a doc generator doing its little thing π€β¨)
Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/zswap.f(3)
okay that's the whole page, go swap some vectors, mwah πππ«Ά
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms