DAXPY(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

DAXPY(3) πŸ’–

okay so this is the DAXPY(3) page from the Library Functions Manual, and bestie, we are officially in the BLAS group chat now. no cap, this routine is a whole little icon: it computes a constant times a vector plus a vector, and it uses unrolled loops for increments equal to one. periodt. πŸ’…


🌸 NAME 🌸

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/daxpy.f

that’s the whole main-character file path, exactly as the page gives it. πŸŽ€


✨ SYNOPSIS ✨

Functions/Subroutines

  • subroutine DAXPY (n, da, dx, incx, dy, incy) β€” DAXPY. she’s showing up with her six arguments like she owns the place. πŸ‘‘

πŸ’« Function/Subroutine Documentation πŸ’«

the full signature is literally this:

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

DAXPY.

🎯 Purpose 🎯

here’s the exact source-comment energy:

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

so yeah: constant times a vector plus a vector, and when increments are equal to one it uses unrolled loops. lowkey iconic. πŸ”₯

🧸 Parameters 🧸

  • N β€” N is INTEGER; number of elements in input vector(s). πŸ“
  • DA β€” DA is DOUBLE PRECISION; On entry, DA specifies the scalar alpha. πŸ’–
  • DX β€” DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). obsessed with the exact dimension string, bestie β€” don’t touch it. πŸ¦‹
  • INCX β€” INCX is INTEGER; storage spacing between elements of DX. 🌸
  • DY β€” DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). again, exact dimension, no edits πŸ™ˆ. πŸŽ€
  • INCY β€” INCY is INTEGER; storage spacing between elements of DY. ✨

πŸ‘‘ Author πŸ‘‘

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

all four, exactly as listed. 🫢

🌈 Further Details 🌈

the further-details block is giving old-school Fortran receipts:

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

so we keep jack dongarra, linpack, 3/11/78, modified 12/3/93, and array(1) declarations changed to array(*). not me memorizing the lore. πŸ’€

Definition at line 88 of file daxpy.f.


πŸ–¨οΈ Author (Doxygen-generated) πŸ–¨οΈ

Generated automatically by Doxygen for LAPACK from the source code.


and that’s the whole page, bestie. the footer sign-off is LAPACK Version 3.12.0 from /home/abui...SRC/daxpy.f(3) (no date listed on this footer) β€” mwah πŸ’‹πŸ§š

πŸ“¦ where this page comes from