DAXPY(3)
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 ofDX. πΈ - 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 ofDY. β¨
π 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
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms