CBLAS/src/cblas_ddot.c(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

πŸ’– 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 β€” the N vibe, forwarded πŸ¦‹
  • #define F77_incX incX β€” the incX vibe, forwarded πŸ’«
  • #define F77_incY incY β€” yep, the incY vibe, 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