BLAS/SRC/daxpy.f(3)

πŸ’… BLAS/SRC/daxpy.f β€” like, the Library Functions Manual entry, bestie ✨

okay so. picture this: you're deep in the BLAS/SRC folder and a file called daxpy.f is just sitting there, being iconic. that's the whole NAME section. we move. πŸŽ€


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine daxpy (n, da, dx, incx, dy, incy) β€” DAXPY. that's it, that's the girl. πŸ¦‹

🌸 Function/Subroutine Documentation 🌸

subroutine daxpy (integer n, double precision da, double precision, dimension(*) dx, integer incx, double precision, dimension(*) dy, integer incy)

DAXPY. she's literally the blueprint. πŸ‘‘

🫢 Purpose:

!>
!>    DAXPY constant times a vector plus a vector.
!>    uses unrolled loops for increments equal to one.
!>

so basically: constant times a vector, plus another vector. and like β€” the way that it uses unrolled loops when the increments are equal to one? highkey a flex. no cap. πŸ”₯

😭 Parameters

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

the count. how many elements live in your input vector(s). bestie, it's just the number of elements. πŸ’œ

  • DA
!>          DA is DOUBLE PRECISION
!>           On entry, DA specifies the scalar alpha.
!>

it's a DOUBLE PRECISION and on entry it specifies the scalar alpha. that's the constant in "constant times a vector plus a vector" btw, iykyk. ⭐

  • DX
!>          DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>

a DOUBLE PRECISION array, and the dimension is ( 1 + ( N - 1 )*abs( INCX ) ) β€” write that down exactly, don't be cute about it. 🌈

  • INCX
!>          INCX is INTEGER
!>         storage spacing between elements of DX
!>

an INTEGER, and it's the storage spacing between elements of DX. yes, the strut. the whole walk. πŸ’…

  • DY
!>          DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
!>

DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). note that it's INCY, not INCX β€” do not mix them up, i'm begging. πŸ™ˆ

  • INCY
!>          INCY is INTEGER
!>         storage spacing between elements of DY
!>

INTEGER, storage spacing between elements of DY. twin of INCX but make it DY. πŸ“


πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

(the whole committee showed up. we stan. 🧚)


πŸ’€ Further Details:

!>
!>     jack dongarra, linpack, 3/11/78.
!>     modified 12/3/93, array(1) declarations changed to array(*)
!>

jack dongarra, linpack, 3/11/78 β€” and then modified 12/3/93 where the array(1) declarations were changed to array(*). a glow-up literally decades in the making. ⭐

fr fr: Definition at line 88 of file daxpy.f. that's where she lives. go say hi. πŸ”₯

πŸ¦‹ Author

Generated automatically by Doxygen for LAPACK from the source code. not a human, just vibes and a build script. 😭


okay that's the whole page, nothing skipped, nothing merged, every single detail present and accounted for πŸ’–

sign-off time: this was LAPACK, Version 3.12.0, and the page is BLAS/SRC/daxpy.f(3) β€” that's the footer, now in cute form. periodt. πŸ’…

πŸ“¦ where this page comes from