CBLAS/src/cblas_sgbmv.c(3)
π CBLAS/src/cblas_sgbmv.c π
okay so bestie, welcome to the glow-up of cblas_sgbmv.c β this is page three of the Library Functions Manual (CBLAS/src/cblas_sgbmv.c(3), yes she's a section 3 girlie) and she is literally the CBLAS wrapper for single-precision general band matrixβvector multiply. no cap, she's a whole vibe. let's get into it β¨
πΈ NAME πΈ
CBLAS/src/cblas_sgbmv.c β that's her. that's the name. short, iconic, to the point. periodt π
β¨ SYNOPSIS β¨
first things first, she includes her two besties:
#include 'cblas.h'
#include 'cblas_f77.h'
π Macros
these little #define cuties are the bridge to the Fortran side of the family β they're all just aliases, no cap:
#define F77_TAβ&TA(address-of, because Fortran wants the pointer, iykyk)#define F77_MβM#define F77_NβN#define F77_ldaβlda#define F77_KLβKL#define F77_KUβKU#define F77_incXβincX#define F77_incYβincY
π¦ Functions
the main character herself π«Ά:
void API_SUFFIX cblas_sgbmv (const CBLAS_LAYOUT layout, const
CBLAS_TRANSPOSE TransA, const CBLAS_INT M, const CBLAS_INT N, const
CBLAS_INT KL, const CBLAS_INT KU, const float alpha, const float *A,
const CBLAS_INT lda, const float *X, const CBLAS_INT incX, const
float beta, float *Y, const CBLAS_INT incY)
that's a lot of parameters and honestly? she ate. π₯
π§ MACRO DEFINITION DOCUMENTATION π§
same iconic eight macros, now with their own dedicated section because Doxygen said so. giving them their moment π
#define F77_incXβ expands toincX#define F77_incYβ expands toincY#define F77_KLβ expands toKL#define F77_KUβ expands toKU#define F77_ldaβ expands tolda#define F77_Mβ expands toM#define F77_Nβ expands toN#define F77_TAβ expands to&TA
all verified, all accounted for, nobody left behind π
π FUNCTION DOCUMENTATION π
β void API_SUFFIX cblas_sgbmv (...)
here she is in full glam, every single parameter exactly as declared:
void API_SUFFIX cblas_sgbmv (const CBLAS_LAYOUT layout, const
CBLAS_TRANSPOSE TransA, const CBLAS_INT M, const CBLAS_INT N, const
CBLAS_INT KL, const CBLAS_INT KU, const float alpha, const float * A,
const CBLAS_INT lda, const float * X, const CBLAS_INT incX, const float
beta, float * Y, const CBLAS_INT incY)
and the important footnote, bestie β don't skip this:
Definition at line 12 of file cblas_sgbmv.c. π
that's where the magic lives, fr fr.
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code.
so nobody hand-wrote this in a Notes app at 2am β it's Doxygen doing Doxygen things, serving looks automatically for LAPACK. we respect the automation. π€β¨
and that's a wrap on our girl! π she's from the LAPACK manual, Version 3.12.0, and this little section-3 page is dated and stamped as CBLAS/src/cblas_sgbmv.c(3) in the footer β mwah π byeee, go multiply something banded, you've got this π¦π
π¦ 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