/home/abui...N/slarge.f(3)
π NAME π
ok so bestie, this page is about /home/abui...N/slarge.f(3) β yes that's a whole path as a page title, we don't make the rules β and it lives in the Library Functions Manual (that's the manual name, mwah, folded in just for you π«Ά).
The actual star of the show is SLARGE, a Fortran subroutine from the LAPACK testing/MATGEN era, full path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/MATGEN/slarge.f
like, that's the whole lore π it's a testing matrix generator file and we're reading its manpage. iconic behavior honestly.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SLARGE (n, a, lda, iseed, work, info)β SLARGE πΈ
π¦ Function/Subroutine Documentation π¦
subroutine SLARGE (integer n, real, dimension( lda, * ) a, integer lda,
integer, dimension( 4 ) iseed, real, dimension( * ) work, integer info)
SLARGE π
π Purpose
!> !> SLARGE pre- and post-multiplies a real general n by n matrix A !> with a random orthogonal matrix: A = U*D*U'. !>
ok so literally what it does: it takes your real general n by n matrix A and sandwiches it β pre- and post-multiplies β with a random orthogonal matrix. the vibe is A = U*D*U'. no cap, that's the whole personality. π
πΈ Parameters
N
!> N is INTEGER
!> The order of the matrix A. N >= 0.
it's the order of the matrix A, and it has to be N >= 0 or we simply don't vibe. β
A
!> A is REAL array, dimension (LDA,N)
!> On entry, the original n by n matrix A.
!> On exit, A is overwritten by U*A*U' for some random
!> orthogonal matrix U.
bestie, this one's REAL, dimension (LDA,N). on entry it's your original n by n matrix A. on exit?? it's overwritten by U*A*U' for some random orthogonal matrix U. so like. your matrix is gone. replaced. main character energy but make it destructive π« π
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= N.
the leading dimension of the array A. it must be LDA >= N, periodt.
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.
INTEGER array, dimension (4). on entry it's the seed of the random number generator β and here's the vibe check: every element must be between 0 and 4095, and ISEED(4) must be odd. don't ask, just respect it π. on exit, the seed is updated (she grows, she changes π).
WORK
!> WORK is REAL array, dimension (2*N)
REAL array, dimension (2*N). just a little scratch space, doing her thing β¨
INFO
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -i, the i-th argument had an illegal value
INTEGER, and the tea is:
= 0: successful exit π< 0: ifINFO = -i, the i-th argument had an illegal value π (so check your args, bestie)
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
like, a whole squad wrote this. legends only. π«Ά
Definition at line 86 of file slarge.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. (not a human, not a girlie, just a doc generator doing her little robot dance π€β¨)
π Sign-off π
so this whole page is from LAPACK, Version 3.12.0, and it's filed under /home/abui...N/slarge.f(3) β drink water, keep your ISEED(4) odd, and go forth and multiply your matrices by random orthogonal ones πππ¦βππ
π¦ 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