BLAS/SRC/zaxpy.f(3)
π BLAS/SRC/zaxpy.f π
okay bestie, welcome to the LAPACK manual page for BLAS/SRC/zaxpy.f, and honestly? she's a classic. a legend. an icon. let's get into it π«Ά
β¨ NAME β¨
BLAS/SRC/zaxpy.f β that's the file, that's the girl, that's the whole vibe π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine zaxpy (n, za, zx, incx, zy, incy)
ZAXPY
like. that's it. that's the whole function. so clean. so simple. she ate π₯
π¦ Function/Subroutine Documentation π¦
subroutine zaxpy
subroutine zaxpy (integer n, complex*16 za, complex*16, dimension(*) zx,
integer incx, complex*16, dimension(*) zy, integer incy)
ZAXPY</pη΄«θ²>
Purpose:
okay so the entire purpose of this queen, no cap:
ZAXPY constant times a vector plus a vector.
literally it takes a constant, multiplies it by a vector, and then adds that to another vector. math? slayed. π
Parameters
NβNisINTEGER, and she's the number of elements in the input vector(s). that's how many of them we're working with, bestie β¨ZAβZAisCOMPLEX*16. on entry,ZAspecifies the scalar alpha. yes that's the constant doing the multiplying πZXβZXisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCX ) ). this is the first vector, the one getting scaled πΈINCXβINCXisINTEGER, and it's the storage spacing between elements ofZX. like how far apart they're sitting in memory πZYβZYisCOMPLEX*16array, dimension( 1 + ( N - 1 )*abs( INCY ) ). this is the other vector, the one getting stuff added to it π¦INCYβINCYisINTEGER, and it's the storage spacing between elements ofZY. same energy asINCXbut forZYπ
Author
the absolute icons behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
ππππ group chat royalty, honestly.
Further Details:
here's the little lore drop, iykyk:
jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
so yeah, jack dongarra dropped this on 3/11/78 and then on 12/3/93 the array(1) declarations got changed to array(*). history. periodt. πβ¨
Definition at line 87 of file zaxpy.f.
(yeah, line 87. iconic line number, no notes π«Ά)
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. so technically a robot wrote this part but she understood the assignment fr fr π€π
and that's the whole page bestie!! Version 3.12.0, dated Tue Nov 28 2023 12:08:41, served up fresh from BLAS/SRC/zaxpy.f(3). mwah. go forth and scale those vectors. slay π
ππ
π¦ 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