TESTING/MATGEN/clagsy.f(3)
hey bestie!! welcome to the Library Functions Manual page for TESTING/MATGEN/clagsy.f(3) π
β¨ this one is all about a little subroutine that makes a complex symmetric matrix, and honestly? iconic.
πΈ NAME πΈ
TESTING/MATGEN/clagsy.f β that's the page, periodt π
β¨ SYNOPSIS β¨
okay so here's the quick vibe check:
Functions/Subroutines
subroutine clagsy (n, k, d, a, lda, iseed, work, info)
CLAGSY
π¦ Function/Subroutine Documentation π¦
the full signature, served fresh:
subroutine clagsy (integer n, integer k, real, dimension( * ) d, complex,
dimension( lda, * ) a, integer lda, integer, dimension( 4 ) iseed,
complex, dimension( * ) work, integer info)
CLAGSY
π Purpose π
okay so CLAGSY generates a complex symmetric matrix A by pre- and post-multiplying a real diagonal matrix D with a random unitary matrix, like this: A = U*D*U**T. then the semi-bandwidth may be reduced to k by additional unitary transformations. that's the whole glow-up β¨
π₯ Parameters π₯
NβINTEGER. the order of the matrixA.N >= 0. no cap.KβINTEGER. the number of nonzero subdiagonals within the band ofA.0 <= K <= N-1.DβREAL array, dimension (N). the diagonal elements of the diagonal matrixD.AβCOMPLEX array, dimension (LDA,N). the generatednbynsymmetric matrixA(the full matrix is stored).LDAβINTEGER. the leading dimension of the arrayA.LDA >= N.ISEEDβ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. iykyk πWORKβCOMPLEX array, dimension (2*N).INFOβINTEGER.= 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 π
Definition at line 101 of file clagsy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the tea β this page is from LAPACK Version 3.12.0, and the file is TESTING/MATGEN/clagsy.f(3) β bye bestie, slay your matrix generation π
π
π¦ 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