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 β€” N is INTEGER, and she's the number of elements in the input vector(s). that's how many of them we're working with, bestie ✨
  • ZA β€” ZA is COMPLEX*16. on entry, ZA specifies the scalar alpha. yes that's the constant doing the multiplying πŸ’…
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). this is the first vector, the one getting scaled 🌸
  • INCX β€” INCX is INTEGER, and it's the storage spacing between elements of ZX. like how far apart they're sitting in memory πŸŽ€
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). this is the other vector, the one getting stuff added to it πŸ¦‹
  • INCY β€” INCY is INTEGER, and it's the storage spacing between elements of ZY. same energy as INCX but for ZY πŸ’œ

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