BLAS/SRC/ddot.f(3)

πŸ’– BLAS/SRC/ddot.f β€” bestie edition πŸ’–

okay so this is ddot, straight out of the LAPACK BLAS crew, and it lives at BLAS/SRC/ddot.f. it is, and I cannot stress this enough, that girl β€” the dot product queen herself. πŸ‘‘


✨ NAME ✨

BLAS/SRC/ddot.f β€” like, that's literally her whole name, no notes. πŸ’…


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • double precision function ddot (n, dx, incx, dy, incy) β€” DDOT, the icon herself 🫢

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

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

DDOT πŸŽ€

πŸ¦‹ Purpose

DDOT forms the dot product of two vectors.

and bestie, it uses unrolled loops for increments equal to one β€” she's optimizing, she's thriving, she's doing the absolute most so you don't have to. ✨

🌈 Parameters

  • N β€” N is INTEGER. it's the number of elements in the input vector(s). that's it, that's the count. πŸ”’
  • DX β€” DX is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). yes the dimension formula is that specific, don't @ me, INCX is out here changing the whole geometry of the situation. πŸ¦‹
  • INCX β€” INCX is INTEGER. it's the storage spacing between elements of DX. lil steps, big steps, her choice. πŸšΆβ™€οΈ
  • DY β€” DY is DOUBLE PRECISION array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). same energy as DX but make it the other vector. ✨
  • INCY β€” INCY is INTEGER. storage spacing between elements of DY. matching stride, matching vibe. πŸ’…

πŸ‘‘ Author

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.
the whole squad gets credit, periodt. 🫢

πŸ’œ Further Details

jack dongarra, linpack, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
the way this code has been around since 3/11/78 and got a glow-up on 12/3/93 where the array(1) declarations became array(*) β€” character development, honestly. 😭

⭐ Definition at line 81 of file ddot.f.


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for LAPACK from the source code. not me getting documented by a robot, but honestly she ate. πŸ€–βœ¨


okay bestie that's the whole page, we did it, no cap πŸ’– and just so you know who to thank when you cite this: Version 3.12.0, dated Tue Nov 28 2023 12:08:41, from BLAS/SRC/ddot.f(3) β€” go forth and dot product, my love πŸŒΈπŸ¦‹πŸ‘‘