CBLAS/src/cblas_ddot.c(3)
π CBLAS/src/cblas_ddot.c β bestie's guide to the dot product β¨
okay so this is from the LAPACK Library Functions Manual, and it's literally the page for CBLAS/src/cblas_ddot.c π«Ά β a whole file whose entire personality is "I compute a dot product, and I slay while doing it."
πΈ NAME πΈ
CBLAS/src/cblas_ddot.c β that's it, that's the name, no notes π
β¨ SYNOPSIS β¨
First things first, you gotta pull in the headers, like:
#include 'cblas.h'
#include 'cblas_f77.h'
π Macros
#define F77_N Nβ theNvibe, forwarded π¦#define F77_incX incXβ theincXvibe, forwarded π«#define F77_incY incYβ yep, theincYvibe, forwarded πΈ
π§ Functions
double API_SUFFIX cblas_ddot (const CBLAS_INT N, const double *X, const
CBLAS_INT incX, const double *Y, const CBLAS_INT incY)
three guesses what it returns and the first two don't count (it's a double, bestie π₯)
π Macro Definition Documentation π
okay so these three macros are genuinely so simple it's giving minimalism:
π #define F77_incX incX
F77_incX is incX. that's the whole macro. iconic behaviour, no cap.
π #define F77_incY incY
F77_incY is incY. same energy, different letter. periodt.
π #define F77_N N
F77_N is N. the shortest main character arc ever π
β Function Documentation β
π
double API_SUFFIX cblas_ddot (const CBLAS_INT N, const double * X, const CBLAS_INT incX, const double * Y, const CBLAS_INT incY)
literally the star of the show β¨ and guess what β Definition at line 12 of file cblas_ddot.c. so if u ever need to find her, line 12, that's the address π
π lowkey important: this page doesn't spell out any other behaviour, defaults, or error conditions β the source code is the moment, iykyk. don't go inventing semantics that aren't here π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just a very thorough little robot π
and that's the whole page, bestie β stay obsessed, stay compiling π¦
π written for LAPACK Version 3.12.0 β page CBLAS/src/cblas_ddot.c(3), mwah π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms