BLAS/SRC/zdotc.f(3)
π BLAS/SRC/zdotc.f(3) π
okay bestie, so this page lives in the LAPACK manual, and it's all about BLAS/SRC/zdotc.f. pull up a chair, we're doing complex dot products and we're doing them correctly. π«Ά
β¨ NAME β¨
BLAS/SRC/zdotc.f β that's the file, that's the whole name, short and sweet, main character energy fr.
πΈ SYNOPSIS πΈ
Functions/Subroutines
complex *16 function zdotc (n, zx, incx, zy, incy)
ZDOTCβ yes girl, this is the one. π
π Function/Subroutine Documentation π
complex*16 function zdotc (integer n, complex*16, dimension(*) zx, integer
incx, complex*16, dimension(*) zy, integer incy)
ZDOTC β she's the function, she's the moment, she's serving you a complex*16 return value. β
π Purpose π
ZDOTC forms the dot product of two complex vectors, like so:
ZDOTC = X^H * Y
note the H bestie, that's the conjugate transpose on X β it is not just X * Y, do not come for me. π
π Parameters π
NβNisINTEGER. it's the number of elements in your input vector(s), the headcount at the function party. if it's 0, nobody's dancing, but the code still knows what to do. πZXβZXisCOMPLEX*16 array, dimension( 1 + ( N - 1 )*abs( INCX ) ). yes, that formula, exactly that one, write it down. it's how much room you gotta give her whenINCXis out here doing the most.INCXβINCXisINTEGER. storage spacing between elements ofZX. so like, how far apart the vibes are in memory. can be 1, can be a whole situation, you do you.ZYβZYisCOMPLEX*16 array, dimension( 1 + ( N - 1 )*abs( INCY ) ). same deal asZX, different letter, no cap.INCYβINCYisINTEGER. storage spacing between elements ofZY. the strut between elements, the runway walk, iconic. β¨
π¦ Author π¦
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad contributed, we love a collab. π
π Further Details π
jack dongarra, 3/11/78.
modified 12/3/93, array(1) declarations changed to array(*)
so this function is older than most of us and still ate. respect the elders bestie. π§
π Definition at line 82 of file zdotc.f. π
line 82, go look, she's right there.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. not me getting written by a documentation robot and still being this slay. π€π
lowkey reminder: the conjugate is onX(X^H), the storage spacings areINCXandINCY, and the array sizes are literally( 1 + ( N - 1 )*abs( INCX ) )and( 1 + ( N - 1 )*abs( INCY ) ). get those right and you're golden. π
and that's the whole page bestie, no notes. this one came from LAPACK Version 3.12.0, dated Tue Nov 28 2023 12:08:41, and it's filed under BLAS/SRC/zdotc.f(3). 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