BLAS/SRC/ddot.f(3)

πŸ’… BLAS/SRC/ddot.f(3) β€” Library Functions Manual πŸŽ€

okay bestie, so this page lives in the manual for BLAS/SRC/ddot.f (that's the manual name, iykyk) and it's literally all about one tiny icon of a Fortran function. let's get into it ✨


✨ NAME ✨

BLAS/SRC/ddot.f β€” the file, the legend, the main character 🌟


🌸 SYNOPSIS 🌸

Functions/Subroutines

double precision function ddot (n, dx, incx, dy, incy)

That's DDOT, bestie. double precision, no cap. πŸ’–


πŸ¦‹ Function/Subroutine Documentation πŸ¦‹

double precision function ddot (integer n, double precision, dimension(*) dx, integer incx, double precision, dimension(*) dy, integer incy)

DDOT. periodt. πŸ‘‘

πŸŽ€ Purpose πŸŽ€

!> !> DDOT forms the dot product of two vectors. !> uses unrolled loops for increments equal to one. !>

so it takes two vectors and gives you the dot product β€” and when the increments are equal to one, it uses unrolled loops, which is lowkey a flex. πŸ’…

πŸ’œ Parameters πŸ’œ

  • N β€” N is INTEGER, and it's the number of elements in your input vector(s). that's it, that's the whole vibe. πŸ“
!>          N is INTEGER
!>         number of elements in input vector(s)
  • DX β€” DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). yes the dimension expression is that whole thing, copy it exactly, don't @ me. πŸ™ˆ
!>          DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
  • INCX β€” INCX is INTEGER, the storage spacing between elements of DX. how far apart your x-flavoured besties sit in memory. 🌈
!>          INCX is INTEGER
!>         storage spacing between elements of DX
  • DY β€” DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). same deal, y-flavoured this time. πŸ’€
!>          DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
  • INCY β€” INCY is INTEGER, the storage spacing between elements of DY. 🧚
!>          INCY is INTEGER
!>         storage spacing between elements of DY

πŸ‘‘ Author πŸ‘‘

the absolute institutions behind this:

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

four icons, one function. we stan. 🫢

πŸ”₯ Further Details πŸ”₯

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

history lesson fr fr β€” jack dongarra, linpack, dated 3/11/78, and then modified 12/3/93 when the array(1) declarations got changed to array(*). glow-up behavior. ✨

⭐ Definition ⭐

Definition at line 81 of file ddot.f. noted. locked in. πŸ“Œ


πŸ’– Author πŸ’–

Generated automatically by Doxygen for LAPACK from the source code.

it wasn't even hand-written, Doxygen did that. automated queen. πŸ€–πŸ’…


and that's the whole page bestie!! source & version check: this is LAPACK, Version 3.12.0, page BLAS/SRC/ddot.f(3) β€” catch you on the next manpage, mwah πŸŽ€πŸ’œπŸ¦‹

πŸ“¦ where this page comes from