C_CBLAS1.C(3)
π CBLAS/testing/c_cblas1.c(3) π
okay bestie, so this page is from the CBLAS manual β like, the C bindings for BLAS, the whole linear-algebra-legend universe β and it's literally a page about CBLAS/testing/c_cblas1.c, a test file out in CBLAS/testing/. it's giving "generated docs energy" and honestly? we love a humble little source file. π
β¨ NAME β¨
CBLAS/testing/c_cblas1.c β that's literally it, that's the whole name section. no cap. π«Ά
πΈ SYNOPSIS πΈ
so first you gotta pull in these two headers, exactly like this:
#include 'cblas_test.h'
#include 'cblas.h'
π¦ Functions
and here's the whole squad of functions this file brings to the group chat β every signature, character for character, no edits, periodt:
void F77_caxpy (const CBLAS_INT *N, const void *alpha, void *X, const
CBLAS_INT *incX, void *Y, const CBLAS_INT *incY)
void F77_ccopy (const CBLAS_INT *N, void *X, const CBLAS_INT *incX, void
*Y, const CBLAS_INT *incY)
void F77_cdotc (const CBLAS_INT *N, void *X, const CBLAS_INT *incX, void
*Y, const CBLAS_INT *incY, void *dotc)
void F77_cdotu (const CBLAS_INT *N, void *X, const CBLAS_INT *incX, void
*Y, const CBLAS_INT *incY, void *dotu)
void F77_cscal (const CBLAS_INT *N, const void **alpha, void *X, const
CBLAS_INT *incX)
void F77_csscal (const CBLAS_INT *N, const float *alpha, void *X, const
CBLAS_INT *incX)
void F77_cswap (const CBLAS_INT *N, void *X, const CBLAS_INT *incX, void
*Y, const CBLAS_INT *incY)
CBLAS_INT F77_icamax (const CBLAS_INT *N, const void *X, const CBLAS_INT
*incX)
float F77_scnrm2 (const CBLAS_INT *N, const void *X, const CBLAS_INT
*incX)
float F77_scasum (const CBLAS_INT *N, void *X, const CBLAS_INT *incX)
like, yes, the F77_ prefix is doing main character energy and the lowercase c ones are the single-precision complex girlies π (and sc is real single precision, iykyk).
π Function Documentation π
this is the part where each function gets its own little spotlight moment, plus the exact line where it lives in the file. lowkey iconic. β
π« void F77_caxpy
void F77_caxpy (const CBLAS_INT * N, const void * alpha, void * X, const
CBLAS_INT * incX, void * Y, const CBLAS_INT * incY)
Definition at line 11 of file c_cblas1.c.
π« void F77_ccopy
void F77_ccopy (const CBLAS_INT * N, void * X, const CBLAS_INT * incX, void
* Y, const CBLAS_INT * incY)
Definition at line 18 of file c_cblas1.c.
π« void F77_cdotc
void F77_cdotc (const CBLAS_INT * N, void * X, const CBLAS_INT * incX, void
* Y, const CBLAS_INT * incY, void * dotc)
Definition at line 25 of file c_cblas1.c.
π« void F77_cdotu
void F77_cdotu (const CBLAS_INT * N, void * X, const CBLAS_INT * incX, void
* Y, const CBLAS_INT * incY, void * dotu)
Definition at line 32 of file c_cblas1.c.
π« void F77_cscal
void F77_cscal (const CBLAS_INT * N, const void ** alpha, void * X, const
CBLAS_INT * incX)
Definition at line 39 of file c_cblas1.c.
(and yes, that's a double pointer on alpha β const void ** β don't come for me, that's literally what the page says π)
π« void F77_csscal
void F77_csscal (const CBLAS_INT * N, const float * alpha, void * X, const
CBLAS_INT * incX)
Definition at line 46 of file c_cblas1.c.
π« void F77_cswap
void F77_cswap (const CBLAS_INT * N, void * X, const CBLAS_INT * incX, void
* Y, const CBLAS_INT * incY)
Definition at line 53 of file c_cblas1.c.
π« CBLAS_INT F77_icamax
CBLAS_INT F77_icamax (const CBLAS_INT * N, const void * X, const CBLAS_INT *
incX)
Definition at line 60 of file c_cblas1.c.
π« float F77_scasum
float F77_scasum (const CBLAS_INT * N, void * X, const CBLAS_INT * incX)
Definition at line 71 of file c_cblas1.c.
π« float F77_scnrm2
float F77_scnrm2 (const CBLAS_INT * N, const void * X, const CBLAS_INT *
incX)
Definition at line 66 of file c_cblas1.c.
π Author π
okay this part is so real of them: it says "Generated automatically by Doxygen for LAPACK from the source code." not a human hand-typing this at 3am β a robot did it. slay, honestly. π§
π the cute sign-off π
and that's the whole page, bestie!! this beauty is brought to you by LAPACK, Version 3.12.0, and it lives at CBLAS/testing/c_cblas1.c(3). read it, love it, cite it in your bug report, and remember: the vibe is hers but the facts stay exactly the same. πβ¨π
π¦ 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