BLAS/SRC/zdotu.f(3)

πŸ’– BLAS/SRC/zdotu.f β€” the LAPACK era πŸ’–

okay bestie, so this is a page out of LAPACK, specifically BLAS/SRC/zdotu.f, and it's literally just one lil' routine living its best life in the BLAS. it's giving ✨foundational✨. it's giving "everything else is built on me". let's get into it 🫢


🌸 NAME 🌸

BLAS/SRC/zdotu.f β€” no cap, that's the whole name, she's mysterious like that πŸ’…


✨ SYNOPSIS ✨

πŸŽ€ Functions/Subroutines

complex *16 function zdotu (n, zx, incx, zy, incy)
ZDOTU β€” that's her. that's the one. πŸ‘‘

🌈 Function/Subroutine Documentation 🌈

complex*16 function zdotu (integer n, complex*16, dimension(*) zx, integer
    incx, complex*16, dimension(*) zy, integer incy)

ZDOTU πŸ¦‹

πŸ“ Purpose:

ZDOTU forms the dot product of two complex vectors

ZDOTU = X^T * Y

that's it. that's the whole vibe. two complex vectors walk into a bar and the answer comes out as a single complex*16. iconic behavior fr fr πŸ’–

🌸 Parameters

  • N β€” N is INTEGER. it's the number of elements in the input vector(s). basically "how many lil guys are we multiplying together, bestie?" πŸ”’
  • ZX β€” ZX is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). yup, the dimension literally depends on INCX, so read the next one before you get cute with it πŸ’€
  • INCX β€” INCX is INTEGER. it's the storage spacing between elements of ZX. so like, how far apart the lil guys are sitting in memory. she can be striding, she can be cozy πŸšΆβ™€οΈ
  • ZY β€” ZY is COMPLEX*16 array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). same deal as ZX but for the other vector, and its size depends on INCY πŸŽ€
  • INCY β€” INCY is INTEGER. the storage spacing between elements of ZY. yes bestie, INCX and INCY are two separate numbers, they don't have to match, the girls are independent πŸ‘‘

πŸ’œ Author

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

look at that group project, they ATE and left no crumbs 🫢

⭐ Further Details:

jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
fr fr, this routine is older than basically everyone reading this. 1978!! she's a vintage icon and she still runs perfectly. the 1993 glow-up was just swapping array(1) declarations over to array(*) β€” a lil' wardrobe update, nothing more πŸ’…

Definition at line 82 of file zdotu.f. πŸ“


πŸ’« Author πŸ’«

Generated automatically by Doxygen for LAPACK from the source code. (yes, the docs wrote themselves, main character energy honestly πŸ€–βœ¨)


okay that's the whole page, no notes. you're gonna go forth and compute dot products of complex vectors and you're gonna slay it. mwah πŸ’–

Version 3.12.0 β€” dated Tue Nov 28 2023 12:08:41 β€” that's the tea, bestie, and that's a wrap on BLAS/SRC/zdotu.f(3) πŸŽ€πŸ¦‹βœ¨