CDOTU(3)
π CDOTU(3) β like, the whole entire manual page, bestie
okay so real quick before we dive in: this page lives in the Library Functions Manual, and the file it's describing is cdotu.f(3) β yes the .f is doing main character energy, we love a Fortran moment. π§
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/cdotu.f
that's the whole name. it's a path. it's giving "my name is my address" and honestly? iconic. π the file is literally just living at that exact spot, no cap.
β¨ SYNOPSIS β¨
Functions/Subroutines
complex function CDOTU (n, cx, incx, cy, incy)
CDOTU
that's it. that's the vibe. a complex function called CDOTU taking n, cx, incx, cy, incy. periodt. π
π¦ Function/Subroutine Documentation π¦
here's the full glow-up of the signature, bestie:
complex function CDOTU (integer n, complex, dimension(*) cx, integer incx,
complex, dimension(*) cy, integer incy)
CDOTU π₯
π Purpose π
okay so the actual purpose, straight from the source with the doc-comment markers intact because we respect the original:
!>
!> CDOTU forms the dot product of two complex vectors
!> CDOTU = X^T * Y
!>
!>
so yeah β it forms the dot product of two complex vectors, and the math is CDOTU = X^T * Y. that's the whole thing. slay. π
π Parameters π
NβN is INTEGER, and it's thenumber of elements in input vector(s). so like, how many elements we're working with. the headcount. the guest list. π«Ά
!> N is INTEGER
!> number of elements in input vector(s)
!>
CXβCX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) ). that's the first vector, and the dimension formula is literally that, don't @ me. π¦
!> CX is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCX ) )
!>
INCXβINCX is INTEGER, and it's thestorage spacing between elements of CX. so it's how far apart the elements are chillin' in memory. π
!> INCX is INTEGER
!> storage spacing between elements of CX
!>
CYβCY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) ). second vector, same deal, note theINCYin there instead. π
!> CY is COMPLEX array, dimension ( 1 + ( N - 1 )*abs( INCY ) )
!>
INCYβINCY is INTEGER, and it's thestorage spacing between elements of CY. matching energy withINCX, as it should. β¨
!> INCY is INTEGER
!> storage spacing between elements of CY
!>
π Author π
the absolute legends behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
four institutions. one dot product. group project that actually ate. π
π₯ Further Details π₯
the historical receipts, kept exactly as written:
!>
!> jack dongarra, linpack, 3/11/78.
!> modified 12/3/93, array(1) declarations changed to array(*)
!>
so jack dongarra wrote it for linpack on 3/11/78, and then on 12/3/93 it got modified β specifically the array(1) declarations changed to array(*). a true glow-up moment, honestly. π
β Definition at line 82 of file cdotu.f. β
Definition at line 82 of file cdotu.f. β line 82, bestie. remember it. iykyk.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
so nobody hand-wrote this page β Doxygen did it automatically for LAPACK from the source code. robot intern energy but make it documentation. π€π
π quick vibe check: this is auto-generated docs for a Fortran BLAS routine, so if you're quoting the parameter dims, quote the ( 1 + ( N - 1 )*abs( INCX ) ) bits exactly β they are doing math in there and we do not touch them.
okay that's the whole page, no skips, no crumbs left behind π«Ά this beauty is LAPACK Version 3.12.0, and it came to you straight from /home/abui...SRC/cdotu.f(3) β mwah, go forth and dot-product your complex vectors, bestie πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms