lapacke_cgtsvx.c(3)
π 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β anint, and honestly the vibe-setter of the whole call.char factβ a singlechar. tiny but powerful.char transβ anotherchar.lapack_int nβ alapack_int. yes bestie,lapack_int, not plainint.lapack_int nrhsβ also alapack_int.const lapack_complex_float *dlβ pointer, markedconstπ«Άconst lapack_complex_float *dβ pointer, alsoconst.const lapack_complex_float *duβ pointer,constagain. the trio is complete.lapack_complex_float *dlfβ non-constpointer, so this one's writable.lapack_complex_float *dfβ non-constpointer.lapack_complex_float *dufβ non-constpointer.lapack_complex_float *du2β non-constpointer.lapack_int *ipivβ pointer tolapack_int.const lapack_complex_float *bβconstpointer, plus alapack_int ldbriding along with it.lapack_complex_float *xβ pointer, plus its ownlapack_int ldx.float *rcondβ plainfloatout-pointer, not complex, don't get it twisted.float *ferrβfloatpointer.float *berrβfloatpointer.
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
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- centos-stream 9: lapack 3.9.0-10.el9 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms