TESTING/MATGEN/clagsy.f(3)

πŸ“¦
version 3.12.1 Β· 3 versions
, in arch rolling

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 matrix A. N >= 0. no cap.
  • K β€” INTEGER. the number of nonzero subdiagonals within the band of A. 0 <= K <= N-1.
  • D β€” REAL array, dimension (N). the diagonal elements of the diagonal matrix D.
  • A β€” COMPLEX array, dimension (LDA,N). the generated n by n symmetric matrix A (the full matrix is stored).
  • LDA β€” INTEGER. the leading dimension of the array A. LDA >= N.
  • ISEED β€” INTEGER array, dimension (4). on entry, the seed of the random number generator; the array elements must be between 0 and 4095, and ISEED(4) must be odd. on exit, the seed is updated. iykyk 🌈
  • WORK β€” COMPLEX array, dimension (2*N).
  • INFO β€” INTEGER. = 0: successful exit. < 0: if INFO = -i, the i-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