/home/abui...N/zlaghe.f(3)

πŸ“¦ version 3.12.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’…

okay so bestie, this is the manual page for /home/abui...N/zlaghe.f(3) β€” like, from the Library Functions Manual, and the actual file lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/zlaghe.f. yes that's a whole entire path, she's long, she's iconic, she's built different πŸŽ€

nsg what she does? she makes you a hermitian matrix out of vibes and a random unitary. slay.


✨ SYNOPSIS ✨

Functions/Subroutines

subroutine ZLAGHE (n, k, d, a, lda, iseed, work, info)

ZLAGHE β€” that's her, that's the moment, that's the whole function πŸ’…


πŸ¦‹ 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 πŸŽ€

!> !> ZLAGHE 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. !>

like literally she's out here taking your real diagonal D, sandwiching it between a random unitary matrix U and its conjugate transpose β€” A = U*D*U' β€” and boom, complex hermitian matrix, no cap πŸ’– and then if you want, the semi-bandwidth can get squished down to k with some extra unitary transformations. the way that works?? obsessed.

🌸 Parameters 🌸

  • N β€” N is INTEGER. it's the order of the matrix A, like how big she is. N >= 0 fr fr.
  • K β€” K is INTEGER. the number of nonzero subdiagonals within the band of A. so 0 <= K <= N-1, no wiggle room bestie, the range check is real.
  • D β€” D is DOUBLE PRECISION array, dimension (N). these are the diagonal elements of the diagonal matrix D. your main characters, your diagonal girlies πŸ’œ
  • A β€” A is COMPLEX*16 array, dimension (LDA,N). the generated n by n hermitian matrix A β€” and yes, the full matrix is stored, she's not hiding half of herself, transparency queen ✨
  • LDA β€” LDA is INTEGER. the leading dimension of the array A. must be LDA >= N, periodt.
  • ISEED β€” ISEED is INTEGER array, dimension (4). on entry, this is the seed of the random number generator β€” and listen, the rules are strict: the array elements must be between 0 and 4095, and ISEED(4) must be odd. on exit, the seed is updated (she evolves, she grows πŸ’«).
  • WORK β€” WORK is COMPLEX*16 array, dimension (2*N). scratch space. do not perceive her. πŸ™ˆ
  • INFO β€” INFO is INTEGER. exit status time:
    • = 0: successful exit, we ate, no crumbs πŸ“
    • < 0: if INFO = -i, the i-th argument had an illegal value. so like, go check argument number i, bestie, that one's the problem 😭

πŸ‘‘ 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. (she didn't write her own bio, the robots did it for her, and honestly? respecting the automation πŸ™)


πŸ’€ real talk though: ISEED(4) must be odd and every element must be in 0–4095. ignore that and it's giving illegal value, INFO < 0, and the whole vibe check fails. you've been warned 🫢

and that's the page!! sign-off time: this was LAPACK Version 3.12.0, page /home/abui...N/zlaghe.f(3) β€” go forth and generate hermitian matrices, mwah πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from