lapacke_cgtsvx.c(3)

πŸ“¦ version 3.9.0, in centos-stream 9

πŸŽ€ lapacke_cgtsvx.c πŸŽ€

okay so bestie, welcome to the LAPACK docs β€” this one lives in the <pink>LAPACK</pink> manual, and it's the page for lapacke_cgtsvx.c. yeah. the file's name is literally the title. iconic behavior, no notes. πŸ’…


✨ NAME ✨

lapacke_cgtsvx.c β€” that's it, that's the name, she said what she said 🫢


🌸 SYNOPSIS 🌸

first things first, you gotta pull in the header, and it's written with those single quotes exactly like this:

#include 'lapacke_utils.h'

πŸ’œ Functions

there's exactly one function on this page, and it's a whole main character:

lapack_int LAPACKE_cgtsvx (int matrix_layout, char fact, char trans,
    lapack_int n, lapack_int nrhs, const lapack_complex_float *dl, const
    lapack_complex_float *d, const lapack_complex_float *du,
    lapack_complex_float *dlf, lapack_complex_float *df,
    lapack_complex_float *duf, lapack_complex_float *du2, lapack_int
    *ipiv, const lapack_complex_float *b, lapack_int ldb,
    lapack_complex_float *x, lapack_int ldx, float *rcond, float *ferr,
    float *berr)

like, look at that parameter list. it's giving final boss energy. 😭 copy it exactly, don't be out here retyping it from memory, i'm begging.


πŸ”₯ Function Documentation πŸ”₯

⭐ lapack_int LAPACKE_cgtsvx (...)

here's the full signature again, formatted all pretty, every param spelled out with the exact types and the exact const-ness, because the const situation on this one is real and you do not want to fumble it:

lapack_int LAPACKE_cgtsvx (int matrix_layout, char fact, char trans,
    lapack_int n, lapack_int nrhs, const lapack_complex_float * dl, const
    lapack_complex_float * d, const lapack_complex_float * du,
    lapack_complex_float * dlf, lapack_complex_float * df,
    lapack_complex_float * duf, lapack_complex_float * du2, lapack_int *
    ipiv, const lapack_complex_float * b, lapack_int ldb,
    lapack_complex_float * x, lapack_int ldx, float * rcond, float * ferr,
    float * berr)

quick vibe check on the parameter lineup, so you know what you're dealing with πŸ’–:

  • int matrix_layout β€” an int, and honestly the vibe-setter of the whole call.
  • char fact β€” a single char. tiny but powerful.
  • char trans β€” another char.
  • lapack_int n β€” a lapack_int. yes bestie, lapack_int, not plain int.
  • lapack_int nrhs β€” also a lapack_int.
  • const lapack_complex_float *dl β€” pointer, marked const 🫢
  • const lapack_complex_float *d β€” pointer, also const.
  • const lapack_complex_float *du β€” pointer, const again. the trio is complete.
  • lapack_complex_float *dlf β€” non-const pointer, so this one's writable.
  • lapack_complex_float *df β€” non-const pointer.
  • lapack_complex_float *duf β€” non-const pointer.
  • lapack_complex_float *du2 β€” non-const pointer.
  • lapack_int *ipiv β€” pointer to lapack_int.
  • const lapack_complex_float *b β€” const pointer, plus a lapack_int ldb riding along with it.
  • lapack_complex_float *x β€” pointer, plus its own lapack_int ldx.
  • float *rcond β€” plain float out-pointer, not complex, don't get it twisted.
  • float *ferr β€” float pointer.
  • float *berr β€” float pointer.
ngl the whole thing is one giant call with a million arguments β€” if you have to type it out, just copy-paste it from above, don't freestyle it πŸ’€

Definition at line 36 of file lapacke_cgtsvx.c. ✨


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for LAPACK from the source code.

like… nobody wrote this page bestie, a machine did. she's an auto-generated queen and honestly? slay. πŸ€–πŸ‘‘


and that's the whole page!! no cap, every single detail is here πŸ“

okay byeeee, and remember the sign-off: this is Version 3.8.0, dated Tue Nov 14 2017 β€” take care of her, she's an icon πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from