BLAS/SRC/dswap.f(3)
π BLAS/SRC/dswap.f π
okay bestie, welcome to the LAPACK corner of the manual pages, this one's file is BLAS/SRC/dswap.f and it is lowkey iconic because it does ONE thing and does it flawlessly β¨
β¨ NAME β¨
BLAS/SRC/dswap.f β no cap, that's literally the whole name, she's a file, she's a legend, periodt π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine dswap (n, dx, incx, dy, incy)β the one and only DSWAP π«Ά
π Function/Subroutine Documentation π
subroutine dswap (integer n, double precision, dimension(*) dx, integer
incx, double precision, dimension(*) dy, integer incy)
DSWAP β she's the main character, she's the whole point π
π Purpose:
DSWAP interchanges two vectors. fr fr, that's it, that's the job π«
and uses unrolled loops for increments equal to 1 β so when INCX and INCY are both 1, she stops being cute and starts being FAST π€π₯
π¦ Parameters
NβNisINTEGER. it's the number of elements in your input vector(s), like how many besties are in the group chat πDXβDXisDOUBLE PRECISIONarray, dimension (1 + ( N - 1 )*abs( INCX )). one of the two vectors getting swapped, she's got range πINCXβINCXisINTEGER. the storage spacing between elements ofDXβ aka how far apart the girlies are sitting πͺπͺDYβDYisDOUBLE PRECISIONarray, dimension (1 + ( N - 1 )*abs( INCY )). the other vector, she's swapping places withDX, it's giving Freaky Friday πINCYβINCYisINTEGER. the storage spacing between elements ofDYβ¨
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
these four are the parents of this whole operation, respect them π«Ά
π Further Details:
jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
so the origin story is jack dongarra, from linpack, dated 3/11/78 β a genuine vintage queen π and then on 12/3/93 somebody came in and changed the array(1) declarations to array(*), glow-up complete π
Definition at line 81 of file dswap.f. π
β Author β
Generated automatically by Doxygen for LAPACK from the source code. she didn't write herself, a robot did, and honestly? slay π€β¨
aaaand that's the whole page bestie!! πΈ no notes, 10/10, she swaps vectors and she looks good doing it π
this was Version 3.12.0, dated Tue Nov 28 2023 12:08:41, and the page you just read is BLAS/SRC/dswap.f(3) π bye ily, go swap something π«Άβ¨
π¦ 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