TESTING/MATGEN/zlaghe.f(3)
π NAME π
TESTING/MATGEN/zlaghe.f(3) β okay bestie, welcome to the TESTING/MATGEN/zlaghe.f(3) page from the Library Functions Manual. This is the manual page for the ZLAGHE subroutine, and we are getting into it.
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine zlaghe (n, k, d, a, lda, iseed, work, info)β the one and only:ZLAGHE.
π¦ Function/Subroutine Documentation π¦
subroutine zlaghe (integer n, integer k, double precision, dimension( * ) d,
complex*16, dimension( lda, * ) a, integer lda, integer, dimension( 4 )
iseed, complex*16, dimension( * ) work, integer info)
ZLAGHE
π Purpose π
So ZLAGHE generates a complex hermitian matrix A, bestie. It does this by pre- and post-multiplying a real diagonal matrix D with a random unitary matrix:
A = U*D*U'
After that, the semi-bandwidth may then be reduced to k by additional unitary transformations. slay.
π Parameters π
NβN is INTEGER. It's the order of the matrixA, and no cap:N >= 0.KβK is INTEGER. This is the number of nonzero subdiagonals within the band ofA. The rules are0 <= K <= N-1.DβD is DOUBLE PRECISION array, dimension (N). These are the diagonal elements of the diagonal matrixD.AβA is COMPLEX*16 array, dimension (LDA,N). This is the generatednbynhermitian matrixAβ and yes, the full matrix is stored.LDAβLDA is INTEGER. It's the leading dimension of the arrayA, and it has to beLDA >= N.ISEEDβISEED is INTEGER array, dimension (4). On entry, this is 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*16 array, dimension (2*N).INFOβINFO is INTEGER. The tea is:= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 101 of file zlaghe.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
And that's the page, bestie π. Footer vibe check: LAPACK, Version 3.12.0, page TESTING/MATGEN/zlaghe.f(3) β iconic, honestly. πβ¨
π¦ 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