TESTING/EIG/cglmts.f(3)
okay bestie, this is TESTING/EIG/cglmts.f(3) from the Library Functions Manual β the whole page is about the cglmts subroutine, and it's giving βtest routine for CGGGLMβ energy. periodt. π«Άβ¨
π NAME π
TESTING/EIG/cglmts.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine cglmts (n, m, p, a, af, lda, b, bf, ldb, d, df, x, u, work,
lwork, rwork, result)
CGLMTS
πΈ Function/Subroutine Documentation πΈ
subroutine cglmts (integer n, integer m, integer p, complex, dimension( lda,
* ) a, complex, dimension( lda, * ) af, integer lda, complex, dimension(
ldb, * ) b, complex, dimension( ldb, * ) bf, integer ldb, complex,
dimension( * ) d, complex, dimension( * ) df, complex, dimension( * ) x,
complex, dimension( * ) u, complex, dimension( lwork ) work, integer
lwork, real, dimension( * ) rwork, real result)
CGLMTS
Purpose π―
CGLMTS tests CGGGLM - a subroutine for solving the generalized linear model problem. That's the whole purpose, no cap. π
Parameters π
okay so here's the parameter tea, in order, and yes I'm keeping every constraint exactly as written:
NβNis INTEGER. The number of rows of the matricesAandB. Constraint:N >= 0.MβMis INTEGER. The number of columns of the matrixA. Constraint:M >= 0.PβPis INTEGER. The number of columns of the matrixB. Constraint:P >= 0.AβAis COMPLEX array, dimension(LDA,M). The N-by-M matrix A.AFβAFis COMPLEX array, dimension(LDA,M). That's all the page says, bestie.LDAβLDAis INTEGER. The leading dimension of the arraysA,AF. Constraint:LDA >= max(M,N).BβBis COMPLEX array, dimension(LDB,P). The N-by-P matrix A.
yep, the B entry literally says βThe N-by-P matrix A.β β I'm not editing it, because the rule is keep every detail. π
BFβBFis COMPLEX array, dimension(LDB,P). Nothing extra listed.LDBβLDBis INTEGER. The leading dimension of the arraysB,BF. Constraint:LDB >= max(P,N).DβDis COMPLEX array, dimension( N ). On input, the left hand side of the GLM.DFβDFis COMPLEX array, dimension( N ). That's all the page gives.XβXis COMPLEX array, dimension( M ). solution vectorXin the GLM problem.UβUis COMPLEX array, dimension( P ). solution vectorUin the GLM problem.WORKβWORKis COMPLEX array, dimension(LWORK). No extra lore.LWORKβLWORKis INTEGER. The dimension of the arrayWORK.RWORKβRWORKis REAL array, dimension(M). That's the whole vibe.RESULTβRESULTis 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 148 of file cglmts.f.
Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, bestie β signed off from LAPACK Version 3.12.0, page TESTING/EIG/cglmts.f(3). No date listed, so I'm not inventing one. πβ¨
π¦ 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