BLAS/SRC/cdotu.f(3)

✨ NAME ✨

okay bestie, welcome to BLAS/SRC/cdotu.f β€” this is the LAPACK girlies' little corner of the BLAS universe, and it's giving complex dot product realness. πŸ’–


🌸 SYNOPSIS 🌸

Functions/Subroutines

  • complex function cdotu (n, cx, incx, cy, incy) β€” aka CDOTU, the main character of this whole page πŸ‘‘

πŸŽ€ Function/Subroutine Documentation πŸŽ€

complex function cdotu (integer n, complex, dimension(*) cx, integer incx, complex, dimension(*) cy, integer incy)

CDOTU

πŸ¦‹ Purpose:

So like, CDOTU forms the dot product of two complex vectors, and the way that it does that is literally just:

CDOTU = X^T * Y

no cap, that's the whole vibe ✨

πŸ’… Parameters

  • N β€” N is INTEGER, and it's the number of elements in input vector(s). bestie, this is how many lil guys we're multiplying together πŸ“
  • CX β€” CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). yes the dimension formula is doing the absolute most but it's iconic and you WILL respect it πŸ’œ
  • INCX β€” INCX is INTEGER, the storage spacing between elements of CX. think of it as the stride, the walk, the lil skip between each element 🧚
  • CY β€” CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). same energy, different vector, we love to see it 🌈
  • INCY β€” INCY is INTEGER, the storage spacing between elements of CY. another stride, another slay πŸ’…

πŸ‘‘ Author

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

like, the whole academic squad came together for this one 🫢

πŸ”₯ Further Details:

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

so we've got lore going back to 3/11/78 β€” historic behavior β€” and a lil glow-up on 12/3/93 where the array(1) declarations got switched up to array(*). character development fr fr 😭

heads up bestie: Definition at line 82 of file cdotu.f. β€” that's where the actual code lives, go look if you're nosy (I support it) πŸ™ˆ

⭐ Author ⭐

Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this, the robot did it, and honestly? it ate. πŸ’€βœ¨


Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/cdotu.f(3)

okay that's the whole page bestie, thanks for coming to my ted talk, go multiply some complex vectors, ily, mwah πŸ’–πŸŽ€πŸ¦‹