C_CBLAS1.C(3)

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

πŸŽ€ 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