TESTING/MATGEN/dlagsy.f(3)
π NAME π
okay bestie, this is TESTING/MATGEN/dlagsy.f from the Library Functions Manual β aka the page for the dlagsy subroutine, and it's lowkey iconic. β¨
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dlagsy (n, k, d, a, lda, iseed, work, info)
DLAGSY
πΈ Function/Subroutine Documentation πΈ
subroutine dlagsy (integer n, integer k, double precision, dimension( * ) d,
double precision, dimension( lda, * ) a, integer lda, integer,
dimension( 4 ) iseed, double precision, dimension( * ) work, integer
info)
DLAGSY
π« Purpose π«
bestie, DLAGSY generates a real symmetric matrix A by pre- and post-multiplying a real diagonal matrix D with a random orthogonal matrix: A = U*D*U'. The semi-bandwidth may then be reduced to k by additional orthogonal transformations. that's the whole main-character plot. π¦
π Parameters π
Nβ INTEGER. The order of the matrixA.N >= 0.Kβ INTEGER. The number of nonzero subdiagonals within the band ofA.0 <= K <= N-1.Dβ DOUBLE PRECISION array, dimension(N). The diagonal elements of the diagonal matrixD.Aβ DOUBLE PRECISION 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.WORKβ DOUBLE PRECISION 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 at line 100 of file dlagsy.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
okay bestie, that's the whole page β the source/version tea is LAPACK Version 3.12.0, and the file is TESTING/MATGEN/dlagsy.f(3). The footer didn't hand us a separate date line, so we're rolling with the version + file path. mwah ππ
π¦ 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