CGLMTS(3)
π CGLMTS(3) π
okay so bestie, this is CGLMTS(3) from the Library Functions Manual β and yes, it's giving very βLAPACK test routine that knows it's iconicβ energy. Let's get into it β¨
NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/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 π
Short version: this routine tests CGGGLM, the subroutine for solving the generalized linear model problem. Here's the exact Doxygen comment block, preserved like a little relic:
!>
!> CGLMTS tests CGGGLM - a subroutine for solving the generalized
!> linear model problem.
!>
π Parameters π
NβINTEGER. The number of rows of the matricesAandB. Constraint:N >= 0. π«ΆMβINTEGER. The number of columns of the matrixA. Constraint:M >= 0. β¨PβINTEGER. The number of columns of the matrixB. Constraint:P >= 0. πAβCOMPLEX array, dimension (LDA,M). TheN-by-MmatrixA. πAFβCOMPLEX array, dimension (LDA,M). π¦LDAβINTEGER. The leading dimension of the arraysA,AF. Constraint:LDA >= max(M,N). πBβCOMPLEX array, dimension (LDB,P). The original description literally says βThe N-by-P matrix A.β β yes, that's what it says, bestie, I'm not editing the source π.BFβCOMPLEX array, dimension (LDB,P). πΈLDBβINTEGER. The leading dimension of the arraysB,BF. Constraint:LDB >= max(P,N). πDβCOMPLEX array, dimension( N ). On input, the left hand side of the GLM. πDFβCOMPLEX array, dimension( N ). β¨XβCOMPLEX array, dimension( M ). Solution vectorXin the GLM problem. π«ΆUβCOMPLEX array, dimension( P ). Solution vectorUin the GLM problem. π¦WORKβCOMPLEX array, dimension (LWORK). πLWORKβINTEGER. The dimension of the arrayWORK. πRWORKβREAL array, dimension (M). βRESULTβREAL. The test ratio:
!> 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 π§
Definition at line 148 of file cglmts.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie π β cute little sign-off time: the footer says LAPACK, Version 3.12.0, and the path /home/abui...IG/cglmts.f(3). No date in that footer, so I'm not inventing one, periodt β¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms