SAXPY(3)

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

πŸ’– NAME πŸ’–

okay bestie, this page lives in the Library Functions Manual and is filed under saxpy.f(3). The NAME section is literally this exact source path, and I am not touching one character of it:

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

🌸 SYNOPSIS 🌸

🧚 Functions/Subroutines

subroutine SAXPY (n, sa, sx, incx, sy, incy)

Name tag, very demure: SAXPY. πŸ’…


✨ Function/Subroutine Documentation ✨

🫢 subroutine SAXPY (integer n, real sa, real, dimension() sx, integer incx, real, dimension() sy, integer incy)

It's SAXPY, bestie. That's the name. πŸŽ€

πŸŽ€ Purpose

SAXPY is out here doing the iconic BLAS thing: constant times a vector plus a vector. And the source is very clear that it uses unrolled loops for increments equal to one. That's the whole purpose, periodt. ✨

reminder from the source: the unrolled-loops behavior is for increments equal to one, exactly as stated. no cap. πŸ”₯

🌈 Parameters

  • N β€” N is INTEGER; it's the number of elements in input vector(s). πŸ“
  • SA β€” SA is REAL; on entry, SA specifies the scalar alpha. πŸ’–
  • SX β€” SX is REAL array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). πŸ¦‹
  • INCX β€” INCX is INTEGER; storage spacing between elements of SX. πŸ’«
  • SY β€” SY is REAL array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). 🌸
  • INCY β€” INCY is INTEGER; storage spacing between elements of SY. 🌈

πŸ‘‘ Author

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

πŸ” Further Details

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

πŸ“ Definition at line 88 of file saxpy.f.


🫢 Author 🫢

Generated automatically by Doxygen for LAPACK from the source code.


cute little sign-off 🌈: the footer energy is LAPACK, Version 3.12.0, and the source path /home/abui...SRC/saxpy.f(3). Mwah. πŸ’‹

πŸ“¦ where this page comes from