CBLAS/src/cblas_dspr2.c(3)

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

πŸ’… CBLAS/src/cblas_dspr2.c πŸ’…

okay bestie so like, this page is from the Library Functions Manual β€” it's the manpage for CBLAS/src/cblas_dspr2.c, and it's basically the entire documentation for one very specific little BLAS wrapper. buckle up, it's short but it's iconic πŸŽ€


✨ NAME ✨

CBLAS/src/cblas_dspr2.c β€” that's it, that's the name, no cap. it's giving "the file documents itself" energy πŸ’…


🌸 SYNOPSIS 🌸

#include 'cblas.h'
#include 'cblas_f77.h'

πŸ¦‹ Macros

#define F77_UL   &UL
#define F77_N   N
#define F77_incX   incX
#define F77_incY   incY

🫢 Functions

void API_SUFFIX cblas_dspr2 (const CBLAS_LAYOUT layout, const CBLAS_UPLO
    Uplo, const CBLAS_INT N, const double alpha, const double *X, const
    CBLAS_INT incX, const double *Y, const CBLAS_INT incY, double *A)

πŸ’– Macro Definition Documentation πŸ’–

these are the little name-shimmy macros, and honestly? they ate. lowkey just aliases, but they're doing the Lord's work πŸ‘‘

  • #define F77_incX incX β€” maps the Fortran-style F77_incX straight onto incX. same thing, cuter name ✨
  • #define F77_incY incY β€” same vibe, but for incY. twin behavior fr fr 🫢
  • #define F77_N N β€” F77_N is literally just N. no notes, it's perfect πŸ’…
  • #define F77_UL &UL β€” this one's the spicy one: F77_UL is the address of UL, &UL. it's giving "I know pointers" πŸ’€πŸ”₯

🧚 Function Documentation 🧚

⭐ void API_SUFFIX cblas_dspr2 (const CBLAS_LAYOUT layout, const CBLAS_UPLO Uplo, const CBLAS_INT N, const double alpha, const double * X, const CBLAS_INT incX, const double * Y, const CBLAS_INT incY, double * A)

okay so the full signature, character for character, no edits bestie:

  • layout β€” a const CBLAS_LAYOUT, so it knows whether we're doing row-major or column-major, iykyk πŸ‘€
  • Uplo β€” a const CBLAS_UPLO, the upper/lower triangle situation πŸŽ€
  • N β€” a const CBLAS_INT, the size, main character number πŸ¦‹
  • alpha β€” a const double, the scalar, slay πŸ’…
  • X β€” a const double *, pointer to the first vector ✨
  • incX β€” a const CBLAS_INT, stride for X, don't skip steps πŸšΆβ€β™€οΈ
  • Y β€” a const double *, pointer to the second vector 🌸
  • incY β€” a const CBLAS_INT, stride for Y, also not skipping steps πŸšΆβ€β™€οΈ
  • A β€” a double *, the packed matrix, and yes she's mutable πŸ‘‘
lowkey important: the definition lives at line 10 of file cblas_dspr2.c. that's the receipt 🧾

πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for LAPACK from the source code.

sooo nobody hand-wrote this one, the robot did it πŸ€–πŸ’– and honestly? it did a fine job.


okay that's the whole page bestie, we got through it together 🫢✨

LAPACK β€” Version 3.12.0 β€” CBLAS/src/cblas_dspr2.c(3) β€” mwah, bye, drink some water πŸ’§πŸ’…πŸŽ€

πŸ“¦ where this page comes from