TESTING/MATGEN/clagge.f(3)
π NAME π
TESTING/MATGEN/clagge.f β okay bestie, this whole page is about the TESTING/MATGEN/clagge.f file from the LAPACK manual. It's giving clagge subroutine energy, and we're about to get into every single detail together. No cap. π
πΈ SYNOPSIS πΈ
β¨ Functions/Subroutines β¨
subroutine clagge (m, n, kl, ku, d, a, lda, iseed, work, info)β theCLAGGEsubroutine, front and center. π
π«Ά Function/Subroutine Documentation π«Ά
subroutine clagge (integer m, integer n, integer kl, integer ku, real,
dimension( * ) d, complex, dimension( lda, * ) a, integer lda, integer,
dimension( 4 ) iseed, complex, dimension( * ) work, integer info)
CLAGGE β yes, that's the name of the game, and she's iconic. π
π Purpose π
Okay so listen: CLAGGE generates a complex general m by n matrix A, by pre- and post-multiplying a real diagonal matrix D with random unitary matrices:
A = U*D*V
The lower and upper bandwidths may then be reduced to kl and ku by additional unitary transformations. That's the whole glow-up. β¨
π Parameters π
M
MβMisINTEGER. The number of rows of the matrixA.M >= 0.
N
NβNisINTEGER. The number of columns of the matrixA.N >= 0.
KL
KLβKLisINTEGER. The number of nonzero subdiagonals within the band ofA.0 <= KL <= M-1.
KU
KUβKUisINTEGER. The number of nonzero superdiagonals within the band ofA.0 <= KU <= N-1.
D
DβDisREAL array, dimension (min(M,N)). The diagonal elements of the diagonal matrixD.
A
AβAisCOMPLEX array, dimension (LDA,N). The generatedmbynmatrixA.
LDA
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= M.
ISEED
ISEEDβISEEDisINTEGER array, dimension (4). On entry, the seed of the random number generator; the array elements must be between0and4095, andISEED(4)must be odd. On exit, the seed is updated. π²
WORK
WORKβWORKisCOMPLEX array, dimension (M+N).
INFO
INFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file clagge.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page β source/version check: LAPACK Version 3.12.0, page: TESTING/MATGEN/clagge.f(3). Stay iconic, and may your matrices be perfectly, randomly, unitarily slay πβ¨
π¦ 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