/home/abui...N/dlagsy.f(3)
π¦ NAME π¦
okay so picture this: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/dlagsy.f β that's the file, bestie. it's giving "LAPACK testing matrix generator" main character energy, and it lives in the Library Functions Manual, section 3. literally the blueprint for DLAGSY, no cap π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine DLAGSY (n, k, d, a, lda, iseed, work, info)β DLAGSY π«Ά (yes that's the whole description, she's mysterious like that)
π 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:
!>
!> 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.
!>
so basically: take your diagonal D, sandwich it with a random orthogonal U on both sides (A = U*D*U'), and boom β real symmetric matrix, freshly generated β¨. and if you're not satisfied with the semi-bandwidth, you can shrink it down to k with some extra orthogonal transformations. highkey iconic behavior π§
π Parameters
N
!> N is INTEGER
!> The order of the matrix A. N >= 0.
!>
K
!> K is INTEGER
!> The number of nonzero subdiagonals within the band of A.
!> 0 <= K <= N-1.
!>
D
!> D is DOUBLE PRECISION array, dimension (N)
!> The diagonal elements of the diagonal matrix D.
!>
A
!> A is DOUBLE PRECISION array, dimension (LDA,N)
!> The generated n by n symmetric matrix A (the full matrix is
!> stored).
!>
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= N.
!>
ISEED
!> ISEED is 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.
!>
π«Ά heads up bestie: thoseISEEDelements gotta be between0and4095, andISEED(4)must be odd. and she mutates it β on exit the seed is updated, so don't be surprised when it's not what you handed her π
WORK
!> WORK is DOUBLE PRECISION array, dimension (2*N)
!>
INFO
!> INFO is 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 at line 100 of file dlagsy.f. π
β Author β
Generated automatically by Doxygen for LAPACK from the source code. (not me writing this by hand, the robots did it π€β¨)
okay and that's the whole page, periodt π
last little thing β the footer says LAPACK Version 3.12.0, dated /home/abui...N/dlagsy.f(3). mwah, go generate some symmetric matrices bestie ππ¦
π¦ 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