TESTING/MATGEN/claghe.f(3)
π NAME π
TESTING/MATGEN/claghe.f(3) β welcome to the Library Functions Manual corner of the universe, bestie π This page is all about TESTING/MATGEN/claghe.f, and it is lowkey iconic.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine claghe (n, k, d, a, lda, iseed, work, info)
CLAGHE
π§ Function/Subroutine Documentation π§
subroutine claghe (integer n, integer k, real, dimension( * ) d, complex,
dimension( lda, * ) a, integer lda, integer, dimension( 4 ) iseed,
complex, dimension( * ) work, integer info)
CLAGHE
πΈ Purpose πΈ
Okay so CLAGHE generates a complex hermitian matrix A by pre- and post-multiplying a real diagonal matrix D with a random unitary matrix:
A = U*D*U'
The semi-bandwidth may then be reduced to k by additional unitary transformations. That's the whole glow-up, no cap β¨
π Parameters π
NβN is INTEGER. The order of the matrixA.N >= 0.KβK is INTEGER. The number of nonzero subdiagonals within the band ofA.0 <= K <= N-1.DβD is REAL array, dimension (N). The diagonal elements of the diagonal matrixD.AβA is COMPLEX array, dimension (LDA,N). The generatedn by n hermitian matrix A(the full matrix is stored).LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= N.ISEEDβISEED is INTEGER 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 is COMPLEX array, dimension (2*N).INFOβINFO is INTEGER.= 0: successful exit π< 0: ifINFO = -i, thei-thargument had an illegal value π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 101 of file claghe.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie β final vibe check: this footer is serving LAPACK Version 3.12.0 and points back to TESTING/MATGEN/claghe.f(3). No date in the footer, so I'm 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