SQRT13(3)
π SQRT13(3) π
ok so bestie, this one's from the Library Functions Manual β yes that's a whole manual dedicated to library functions, iconic behavior honestly. The page is literally named after a path so let's just get into it π
β¨ NAME β¨
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sqrt13.f
like... that's the name. that's the whole name. it's giving "my mom named me after the street we lived on" π but slay, it is what it is, and that's the file we're talking about π
πΈ SYNOPSIS πΈ
π« Functions/Subroutines
subroutine SQRT13 (scale, m, n, a, lda, norma, iseed)
SQRT13 β¨ (yeah the synopsis just says the name again, she's lowkey mysterious)
π¦ Function/Subroutine Documentation π¦
subroutine SQRT13 (integer scale, integer m, integer n, real, dimension(
lda, * ) a, integer lda, real norma, integer, dimension( 4 ) iseed)
SQRT13 π
π₯ Purpose:
!>
!> SQRT13 generates a full-rank matrix that may be scaled to have large
!> or small norm.
!>
translation bestie: it makes you a full-rank matrix β no weak rows here, she's independent, she's serving linearly independent realness π β and then you can scale her so her norm is either huge or tiny. main character matrix energy fr fr.
π Parameters π
SCALEβ this one's anINTEGERand she's got moods:
!> SCALE is INTEGER
!> SCALE = 1: normally scaled matrix
!> SCALE = 2: matrix scaled up
!> SCALE = 3: matrix scaled down
!>
so like β 1 = the matrix is just being herself (normally scaled), 2 = she ate and got bigger (scaled up), 3 = she's on a cleanse (scaled down). pick your vibe π
Mβ anINTEGER, and it's the number of rows of the matrix A π«Ά
!> M is INTEGER
!> The number of rows of the matrix A.
!>
Nβ also anINTEGER, and this one's the number of columns of A β¨
!> N is INTEGER
!> The number of columns of A.
!>
Aβ it's aREALarray, dimension(LDA,N), and it's literally the M-by-N matrix A π the star of the show, the one we're generating, periodt.
!> A is REAL array, dimension (LDA,N)
!> The M-by-N matrix A.
!>
LDAβ anINTEGER, and it's the leading dimension of the array A. important structural queen, don't skip her π
!> LDA is INTEGER
!> The leading dimension of the array A.
!>
NORMAβ she's aREALand she holds the one-norm of A π (yes, one-norm, not "normal", don't come for me)
!> NORMA is REAL
!> The one-norm of A.
!>
ISEEDβ an integer array, dimension(4), and it's the seed for the random number generator π² four whole slots of pure chaos, iykyk
!> ISEED is integer array, dimension (4)
!> Seed for random number generator
!>
π Author π
the geniuses behind this, in order:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
absolute legends, all four, no cap π
π quick note bestie: this bad girl is defined at line 90 of file sqrt13.f β so if you ever need to find her in the wild, that's where she lives π
π cute lil sign-off π
and that's the page!! this whole thing was generated automatically by Doxygen for LAPACK from the source code (so nobody hand-typed this, the robot did it, and honestly? she ate π€β¨), running under LAPACK, Version 3.12.0 β and the source path at the bottom is that same .../sqrt13.f(3) we met at the top. full circle, we love a callback π¦π«
mwah, go forth and generate full-rank matrices responsibly π«Άπ
π¦ 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