CBLAS/src/cblas_dspr2.c(3)
π 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-styleF77_incXstraight ontoincX. same thing, cuter name β¨#define F77_incY incYβ same vibe, but forincY. twin behavior fr fr π«Ά#define F77_N NβF77_Nis literally justN. no notes, it's perfect π#define F77_UL &ULβ this one's the spicy one:F77_ULis the address ofUL,&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β aconst CBLAS_LAYOUT, so it knows whether we're doing row-major or column-major, iykyk πUploβ aconst CBLAS_UPLO, the upper/lower triangle situation πNβ aconst CBLAS_INT, the size, main character number π¦alphaβ aconst double, the scalar, slay πXβ aconst double *, pointer to the first vector β¨incXβ aconst CBLAS_INT, stride forX, don't skip steps πΆββοΈYβ aconst double *, pointer to the second vector πΈincYβ aconst CBLAS_INT, stride forY, also not skipping steps πΆββοΈAβ adouble *, 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
- 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