lapacke_sorcsd.c(3)
π lapacke_sorcsd.c β like, the manual page, but make it make sense
okay so bestie, welcome to the lapacke_sorcsd.c era β this is the LAPACK page for it (yes, that LAPACK, the linear algebra icon π), and we're gonna walk through it together. no cap, it's mostly one big function signature and a whole lot of float * pointers, but we got this π«Ά
β¨ NAME β¨
lapacke_sorcsd.c β that's literally it, that's the name. short, sweet, main character energy π
πΈ SYNOPSIS πΈ
first things first, you gotta pull in the header:
#include 'lapacke_utils.h'
π¦ Functions
there's exactly one function on this page, and she's a whole lot:
lapack_int LAPACKE_sorcsd (int matrix_layout, char jobu1, char jobu2,
char jobv1t, char jobv2t, char trans, char signs, lapack_int m,
lapack_int p, lapack_int q, float *x11, lapack_int ldx11, float
*x12, lapack_int ldx12, float *x21, lapack_int ldx21, float *x22,
lapack_int ldx22, float *theta, float *u1, lapack_int ldu1, float
*u2, lapack_int ldu2, float *v1t, lapack_int ldv1t, float *v2t,
lapack_int ldv2t)
like yeah, that's a lot of arguments. she's thorough π we don't gatekeep.
π₯ Function Documentation π₯
π lapack_int LAPACKE_sorcsd (int matrix_layout, char jobu1, char jobu2, char jobv1t, char jobv2t, char trans, char signs, lapack_int m, lapack_int p, lapack_int q, float * x11, lapack_int ldx11, float * x12, lapack_int ldx12, float * x21, lapack_int ldx21, float * x22, lapack_int ldx22, float * theta, float * u1, lapack_int ldu1, float * u2, lapack_int ldu2, float * v1t, lapack_int ldv1t, float * v2t, lapack_int ldv2t)
okay so here's the full signature again, with all her little quirks, typed out exactly how the source gives it to us (note the spaces after the * β that's just how she's presented here, don't come for her π):
lapack_int LAPACKE_sorcsd (int matrix_layout, char jobu1, char jobu2, char
jobv1t, char jobv2t, char trans, char signs, lapack_int m, lapack_int p,
lapack_int q, float * x11, lapack_int ldx11, float * x12, lapack_int
ldx12, float * x21, lapack_int ldx21, float * x22, lapack_int ldx22,
float * theta, float * u1, lapack_int ldu1, float * u2, lapack_int ldu2,
float * v1t, lapack_int ldv1t, float * v2t, lapack_int ldv2t)
Definition at line 36 of file lapacke_sorcsd.c. β¨ (iykyk β line 36, that's where she lives π‘)
let's do a lil vibe check on the cast, because there's honestly so many of them:
int matrix_layoutβ a plaininttelling us how the matrices are laid out.char jobu1β acharswitch foru1.char jobu2β acharswitch foru2.char jobv1tβ acharswitch forv1t.char jobv2tβ acharswitch forv2t.char transβ acharfor the transpose situation.char signsβ acharfor the signs. yes, signs. plural. we love options πlapack_int mβ alapack_intnamedm.lapack_int pβ alapack_intnamedp.lapack_int qβ alapack_intnamedq.float *x11andlapack_int ldx11β pointer plus its leading dimension bestie.float *x12andlapack_int ldx12β same deal, different corner.float *x21andlapack_int ldx21β yup, still going.float *x22andlapack_int ldx22β the last of the x-squad πfloat *thetaβ outputs go here apparently, iconic.float *u1andlapack_int ldu1βu1plus its leading dimension.float *u2andlapack_int ldu2βu2plus its leading dimension.float *v1tandlapack_int ldv1tβv1tplus its leading dimension.float *v2tandlapack_int ldv2tβv2tplus its leading dimension, and that's the whole squad. periodt.
that's every single one of them, and no we did not skip anybody, that's not the vibe here π
ngl, this page is generated documentation, so it gives you the signature and the line number and not a whole lot of prose. we're not out here inventing behaviour that isn't written down β that's a no from me π ββοΈ
π Author π
Generated automatically by Doxygen for LAPACK from the source code. she was literally built by a robot and she's still serving π§
and that's the page, bestie!! πΈπ
Version 3.8.0 β dated Tue Nov 14 2017 β and the page calls itself lapacke_sorcsd.c(3), which, yeah, that's the whole title. slay, stay hydrated, and may all your leading dimensions be correct π«Άβ¨
π¦ 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