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 ofCX. 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 ofCY. 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 πππ¦
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms