TESTING/EIG/sglmts.f(3)
π TESTING/EIG/sglmts.f(3) π
Bestie, this page is from the Library Functions Manual, and it's all about TESTING/EIG/sglmts.f β yes, the test routine is serving main character energy. π§β¨
πΈ NAME πΈ
TESTING/EIG/sglmts.f β that's the name, that's the whole name, and honestly? Iconic. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
Here's the cast list, no cap:
subroutine sglmts (n, m, p, a, af, lda, b, bf, ldb, d, df, x, u, work,
lwork, rwork, result)
SGLMTS
π¦ Function/Subroutine Documentation π¦
π subroutine sglmts π
Full signature, copied exactly because we do not play with code:
subroutine sglmts (integer n, integer m, integer p, real, dimension( lda, *
) a, real, dimension( lda, * ) af, integer lda, real, dimension( ldb, *
) b, real, dimension( ldb, * ) bf, integer ldb, real, dimension( * ) d,
real, dimension( * ) df, real, dimension( * ) x, real, dimension( * ) u,
real, dimension( lwork ) work, integer lwork, real, dimension( * )
rwork, real result)
SGLMTS
π Purpose π
SGLMTS tests SGGGLM β a subroutine for solving the generalized linear model problem. Lowkey important, highkey slaying. π₯
π Parameters π
NβN is INTEGER.N >= 0. The number of rows of the matricesAandB.MβM is INTEGER.M >= 0. The number of columns of the matrixA.PβP is INTEGER.P >= 0. The number of columns of the matrixB.AβA is REAL array, dimension (LDA,M). The N-by-M matrixA.AFβAF is REAL array, dimension (LDA,M). No extra lore, just the type and dimension.LDAβLDA is INTEGER. The leading dimension of the arraysA,AF.LDA >= max(M,N).BβB is REAL array, dimension (LDB,P). The N-by-P matrixA. (Yes, the page literally saysAthere β I'm not changing a single character, bestie. π)BFβBF is REAL array, dimension (LDB,P). Just the type and dimension, periodt.LDBβLDB is INTEGER. The leading dimension of the arraysB,BF.LDB >= max(P,N).DβD is REAL array, dimension( N ). On input, the left hand side of the GLM.DFβDF is REAL array, dimension( N ). That's the whole note.XβX is REAL array, dimension( M ). Solution vectorXin the GLM problem.UβU is REAL array, dimension( P ). Solution vectorUin the GLM problem.WORKβWORK is REAL array, dimension (LWORK). That's it, that's the vibe.LWORKβLWORK is INTEGER. The dimension of the arrayWORK.RWORKβRWORK is REAL array, dimension (M). Short and sweet.RESULTβRESULT is REAL. The test ratio:
norm( d - A*x - B*u )
RESULT = -----------------------------------------
(norm(A)+norm(B))*(norm(x)+norm(u))*EPS
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 147 of file sglmts.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Catch you in the footer, bestie: LAPACK Version 3.12.0, page TESTING/EIG/sglmts.f(3) β that's the source/version tea, and we're out. π«Άπβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms