/home/abui...N/claghe.f(3)
π CLAGHE π
Okay so this is the claghe.f page from the Library Functions Manual β header-path bestie is /home/abui...N/claghe.f(3). We are in LAPACK matrix-generation testing land, and this routine is about to make a complex hermitian matrix. It's giving A = U*D*U' energy, no cap. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/claghe.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CLAGHE (n, k, d, a, lda, iseed, work, info)
CLAGHE β yes bestie, that's the whole vibe of the synopsis. π¦
π« 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 π
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. Slay. π
π Parameters π
NβNisINTEGER. The order of the matrixA. Constraint:N >= 0.KβKisINTEGER. The number of nonzero subdiagonals within the band ofA. Constraint:0 <= K <= N-1.DβDisREAL array, dimension (N). The diagonal elements of the diagonal matrixD.AβAisCOMPLEX array, dimension (LDA,N). The generatednbynhermitian matrixA(the full matrix is stored).LDAβLDAisINTEGER. The leading dimension of the arrayA. Constraint:LDA >= N.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βWORKisCOMPLEX array, dimension (2*N).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 101 of file claghe.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
xoxo bestie, this page is from LAPACK Version 3.12.0, and the footer path is /home/abui...N/claghe.f(3). π
β¨
π¦ 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