TESTING/EIG/zglmts.f(3)
πΈ NAME
okay so this page is TESTING/EIG/zglmts.f, and it lives in the Library Functions Manual β literally the LAPACK testing page for the zglmts subroutine. Itβs giving βI test ZGGGLMβ energy, and weβre gonna go through every single parameter because bestie deserves the full tea. π
β¨ SYNOPSIS
π§ Functions/Subroutines
subroutine zglmts (n, m, p, a, af, lda, b, bf, ldb, d, df, x, u, work,
lwork, rwork, result)
ZGLMTS
π Function/Subroutine Documentation
subroutine zglmts (integer n, integer m, integer p, complex*16, dimension(
lda, * ) a, complex*16, dimension( lda, * ) af, integer lda, complex*16,
dimension( ldb, * ) b, complex*16, dimension( ldb, * ) bf, integer ldb,
complex*16, dimension( * ) d, complex*16, dimension( * ) df, complex*16,
dimension( * ) x, complex*16, dimension( * ) u, complex*16, dimension(
lwork ) work, integer lwork, double precision, dimension( * ) rwork,
double precision result)
ZGLMTS
π Purpose
Bestie, ZGLMTS tests ZGGGLM β a subroutine for solving the generalized linear model problem. Thatβs the whole purpose. Itβs the vibe check for the solver. β¨
πΈ Parameters
NβN is INTEGER.The number of rows of the matrices A and B. N >= 0.β¨MβM is INTEGER.The number of columns of the matrix A. M >= 0.πPβP is INTEGER.The number of columns of the matrix B. P >= 0.πAβA is COMPLEX*16 array, dimension (LDA,M).The N-by-M matrix A.AFβAF is COMPLEX*16 array, dimension (LDA,M).LDAβLDA is INTEGER.The leading dimension of the arrays A, AF. LDA >= max(M,N).BβB is COMPLEX*16 array, dimension (LDB,P).The N-by-P matrix A.(yes, it literally says A here β Iβm just the messenger π)BFβBF is COMPLEX*16 array, dimension (LDB,P).LDBβLDB is INTEGER.The leading dimension of the arrays B, BF. LDB >= max(P,N).DβD is COMPLEX*16 array, dimension( N ).On input, the left hand side of the GLM.DFβDF is COMPLEX*16 array, dimension( N ).XβX is COMPLEX*16 array, dimension( M ).solution vector X in the GLM problem.UβU is COMPLEX*16 array, dimension( P ).solution vector U in the GLM problem.WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER.The dimension of the array WORK.RWORKβRWORK is DOUBLE PRECISION array, dimension (M).RESULTβRESULT is DOUBLE PRECISION.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 144 of file zglmts.f. π«Ά
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code. (Doxygen said βI got this,β and honestly? Iconic.) β¨
mwah π β source/version vibes: LAPACK Version 3.12.0, page: TESTING/EIG/zglmts.f(3). The footer doesnβt list a separate date, so weβre not inventing one, periodt. π
π¦ 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