SLATB4(3)
π SLATB4(3) β bestie's guide to the LAPACK matrix-vibe setter β¨
Okay so real talk, this page lives in the Library Functions Manual and it's all about the file /home/abui...IN/slatb4.f(3) β that's the whole address, yes it's long, no we're not shortening it, iykyk π«Ά. Grab a snack and let's get into it.
πΈ SYNOPSIS πΈ
Functions/Subroutines π«
subroutine SLATB4 (path, imat, m, n, type, kl, ku, anorm, mode, cndnum, dist)β the whole cast list, and yes that trailingdistis doing main character energy at the very end πSLATB4β that's it, that's the name, slay
π¦ Function/Subroutine Documentation π¦
Here's the full glow-up of the signature, character for character, no edits no cap:
subroutine SLATB4 (character*3 path, integer imat, integer m, integer n,
character type, integer kl, integer ku, real anorm, integer mode, real
cndnum, character dist)
And again, shorter, iconic:
SLATB4
β¨ Purpose β¨
!>!> SLATB4 sets parameters for the matrix generator based on the type of!> matrix to be generated.!>
So like β it's the little subroutine that literally decides the vibes of the matrix you're about to generate. Type goes in, parameters come out. It's giving matchmaker but for matrices, and honestly? obsessed. π₯
π Parameters π
Every single one, in order, nothing skipped, we don't do that here:
PATHβ!>PATH is CHARACTER*3,!>the LAPACK path name. π€οΈ Three characters of pure identity.IMATβ!>IMAT is INTEGER,!>an integer key describing which matrix to generate for thisPATH. Think of it as the menu number at your fave restaurant, except the meal is a matrix πMβ!>M is INTEGER,!>the number of rows in the matrix to be generated. Rows. The horizontal girlies.Nβ!>N is INTEGER,!>the number of columns in the matrix to be generated. Columns. The vertical girlies. πTYPEβ!>TYPE is CHARACTER*1,!>the type of the matrix to be generated:= 'S': symmetric matrix π= 'P': symmetric positive (semi)definite matrix π= 'N': nonsymmetric matrix π
KLβ!>KL is INTEGER,!>the lower band width of the matrix to be generated. Lowkey the lower bound, literally.KUβ!>KU is INTEGER,!>the upper band width of the matrix to be generated. Highkey the upper bound, literally. β¬οΈANORMβ!>ANORM is REAL,!>the desired norm of the matrix to be generated. The diagonal matrix of singular values or eigenvalues is scaled by this value. So it's not just a number, it's the number that scales the whole diagonal situation πMODEβ!>MODE is INTEGER,!>a key indicating how to choose the vector of eigenvalues. A key! Another key! This subroutine is basically a keychain πCNDNUMβ!>CNDNUM is REAL,!>the desired condition number. Manifesting a good condition number for u β¨DISTβ!>DIST is CHARACTER*1,!>the type of distribution to be used by the random number generator. Randomness, but make it typed π«
π Author π
The absolute legends behind this:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
A whole squad. Group project but they actually carried it π«Άπ
π Definition π
Defined at line 118 of file slatb4.f. Line 118! Not 117, not 119. Precision, periodt. π
β Author β
This page was generated automatically by Doxygen for LAPACK from the source code. Robot-made, but make it cute π€π
And that's the whole thing bestie, hope it slayed π β this page is from LAPACK, Version 3.12.0, and it points at /home/abui...IN/slatb4.f(3). Bye!! πΈπ¦π
π¦ 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