CBLAS/src/cblas_zswap.c(3)

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

πŸ’… 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 β€” maps F77_incX straight onto incX. no cap, that's it.
  • #define F77_incY incY β€” same energy for F77_incY β†’ incY.
  • #define F77_N N β€” and F77_N is just N living 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 N
  • void *X
  • const CBLAS_INT incX
  • void *Y
  • const 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