CBLAS/src/cblas_zswap.c(3)
π CBLAS/src/cblas_zswap.c(3) β Library Functions Manual
okay bestie, so this is a page from the CBLAS corner of the LAPACK universe, and it's literally just one lil function plus a handful of macros doing the absolute most β¨ Let's get into it.
πΈ NAME πΈ
CBLAS/src/cblas_zswap.c β that's the file, that's the name, no notes, periodt π
π¦ SYNOPSIS π¦
She's giving "short and iconic." Here's exactly what she pulls in:
#include 'cblas.h'
#include 'cblas_f77.h'
β¨ Macros β¨
#define F77_N N#define F77_incX incX#define F77_incY incY
β¨ Functions β¨
void API_SUFFIX cblas_zswap (const CBLAS_INT N, void *X, const CBLAS_INT
incX, void *Y, const CBLAS_INT incY)
That's the whole lineup. Four names, one function, zero drama π
π Macro Definition Documentation π
these are basically the backstage crew β nobody claps for them but the whole thing falls apart without them π
#define F77_incX incXβ mapsF77_incXstraight ontoincX. no cap, that's it.#define F77_incY incYβ same energy forF77_incYβincY.#define F77_N Nβ andF77_Nis justNliving its best alias life.
lowkey these are doing the "same thing, different name" trick so the Fortran side and the C side stay on the same page π«Ά
π₯ Function Documentation π₯
π void API_SUFFIX cblas_zswap (const CBLAS_INT N, void * X, const CBLAS_INT incX, void * Y, const CBLAS_INT incY)
Okay here's our main character π The signature, verbatim, no edits:
void API_SUFFIX cblas_zswap (const CBLAS_INT N, void * X, const CBLAS_INT
incX, void * Y, const CBLAS_INT incY)
and she takes:
const CBLAS_INT Nvoid *Xconst CBLAS_INT incXvoid *Yconst CBLAS_INT incY
Definition at line 11 of file cblas_zswap.c. π mark it, bestie, that's the receipts.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Not me writing fanfiction, not a human typing this at 2am β the robot did it π€β¨
βΏ and that's the whole page βΏ
this lil beauty ships with LAPACK, Version 3.12.0, and the page is CBLAS/src/cblas_zswap.c(3) β so when you cite her, cite her right π mwah, go forth and swap responsibly π§ββοΈπ
π¦ 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