CBLAS_DSYR2K.C(3)

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

πŸ’… CBLAS/src/cblas_dsyr2k.c(3) β€” like, the cblas_dsyr2k page, bestie ✨

Okay so this is a page from the CBLAS manual (the C wrapper situation for LAPACK, iykyk), and it's literally just the docs for one function: cblas_dsyr2k. Doxygen generated it automatically, so it's giving "generated by a robot at 3am" energy β€” but we're gonna make it make sense. 🫢


🌸 NAME 🌸

CBLAS/src/cblas_dsyr2k.c

That's the file. That's the name section. Iconic, honestly. πŸ’€


✨ SYNOPSIS ✨

#include 'cblas.h'
#include 'cblas_f77.h'

πŸŽ€ Macros

These little cuties get defined, fr fr:

#define F77_TR   &TR
#define F77_UL   &UL
#define F77_N   N
#define F77_K   K
#define F77_lda   lda
#define F77_ldb   ldb
#define F77_ldc   ldc

πŸ¦‹ Functions

One function, and it's the main character:

void API_SUFFIX cblas_dsyr2k (const CBLAS_LAYOUT layout, const
    CBLAS_UPLO Uplo, const CBLAS_TRANSPOSE Trans, const CBLAS_INT N,
    const CBLAS_INT K, const double alpha, const double *A, const
    CBLAS_INT lda, const double *B, const CBLAS_INT ldb, const double
    beta, double *C, const CBLAS_INT ldc)

πŸ’– Macro Definition Documentation πŸ’–

Here's where each macro gets its own little shoutout. No notes, they're perfect:

  • #define F77_K K β€” F77_K is literally just K. Slay.
  • #define F77_lda lda β€” yeah, F77_lda maps straight onto lda. Lowkey the simplest thing ever.
  • #define F77_ldb ldb β€” same vibe, F77_ldb β†’ ldb.
  • #define F77_ldc ldc β€” and F77_ldc β†’ ldc. A whole trilogy. πŸ‘‘
  • #define F77_N N β€” F77_N is N, periodt.
  • #define F77_TR &TR β€” this one's spicy, F77_TR takes the address of TR, so it's &TR not just TR. 🌢️
  • #define F77_UL &UL β€” and F77_UL is &UL, address-of energy again. That's the vibe check passed. ✨

πŸ”₯ Function Documentation πŸ”₯

void API_SUFFIX cblas_dsyr2k (...)

Full signature, verbatim, because we do not mess with the facts:

void API_SUFFIX cblas_dsyr2k (const CBLAS_LAYOUT layout, const CBLAS_UPLO
    Uplo, const CBLAS_TRANSPOSE Trans, const CBLAS_INT N, const CBLAS_INT K,
    const double alpha, const double * A, const CBLAS_INT lda, const double
    * B, const CBLAS_INT ldb, const double beta, double * C, const CBLAS_INT
    ldc)
Definition at line 12 of file cblas_dsyr2k.c. πŸ“

Like, that's where it lives. Line 12. Remember it. 🧚


πŸ“ Author πŸ“

Generated automatically by Doxygen for LAPACK from the source code. Not a human, not a bestie, just a tool doing its thing. 😭


And that's the whole page! πŸ’œ Signing off with the deets: this is LAPACK, Version 3.12.0, and the page you're on is CBLAS/src/cblas_dsyr2k.c(3). Go forth and multiply your symmetric rank-2k updates, queen. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from