DLAQSY(3)
๐ DLAQSY(3) โ the LAPACK girlies' guide
Okay so bestie, welcome to the manual page for DLAQSY, living its best life over in LAPACK (Library Functions Manual energy, obvs). Get comfy, we're gonna talk about scaling symmetric matrices and it's gonna slay. โจ
๐ธ NAME ๐ธ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dlaqsy.f
Yeah, that's the whole name, it's giving "my full legal name on the attendance sheet." That path is literally the file, no cap โ that's where this icon lives. ๐
๐ฆ SYNOPSIS ๐ฆ
Functions/Subroutines
subroutine DLAQSY (uplo, n, a, lda, s, scond, amax, equed)
DLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ. That's the whole vibe: it takes your matrix and equilibrates it. ๐
๐ Function/Subroutine Documentation ๐
subroutine DLAQSY (character uplo, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision, dimension( * ) s, double
precision scond, double precision amax, character equed)
DLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ. (Yes, this is the same sentence again โ the manpage said it twice, so I'm saying it twice, periodt. Consistency is a lifestyle. ๐
)
๐ง Purpose ๐ง
Okay so here's the actual tea: DLAQSY equilibrates a symmetric matrix A using the scaling factors in the vector S. That's it. That's the job. Fr fr. ๐ซถ
โญ Parameters โญ
UPLOโUPLOisCHARACTER*1. It's the "which half of the matrix are we even looking at" flag:= 'U': Upper triangular= 'L': Lower triangular
NโNisINTEGER. The order of the matrixA. Constraint:N >= 0. (Zero is valid bestie, don't come for it. ๐)AโAisDOUBLE PRECISION array, dimension (LDA,N). Let's break it down:- On entry, this is the symmetric matrix
A. IfUPLO = 'U', the leadingnbynupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingnbynlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. ๐ (Not referenced = we simply do not acknowledge it, it's not in the group chat.) - On exit, if
EQUED = 'Y', you get the equilibrated matrix:diag(S) * A * diag(S). Iconic transformation honestly. โจ
- On entry, this is the symmetric matrix
LDAโLDAisINTEGER. The leading dimension of the arrayA. Constraint:LDA >= max(N,1). Respect the boundary. ๐SโSisDOUBLE PRECISION array, dimension (N). The scale factors forA. These are the main characters of this whole operation. ๐SCONDโSCONDisDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i). It's literally the gossip: how spread out are your scaling factors? ๐AMAXโAMAXisDOUBLE PRECISION. Absolute value of largest matrix entry. Big number energy. ๐ฅEQUEDโEQUEDisCHARACTER*1. Tells you whether or not equilibration was done:= 'N': No equilibration.= 'Y': Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S). Slay. ๐
๐ฎ Internal Parameters ๐ฎ
These are the behind-the-scenes besties, the ones working the lighting so the show looks good. ๐ญ
THRESHis a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.LARGEandSMALLare threshold values used to decide if scaling should be done based on the absolute size of the largest matrix element. IfAMAX > LARGEorAMAX < SMALL, scaling is done.
(So basically: small scond ratio โ scale. Huge or tiny amax โ scale. The vibes are checked, then the matrix gets its glow-up. ๐)
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Group project but somehow it actually got finished, we love to see it. ๐ซถ
Definition at line 132 of file dlaqsy.f.
๐ Author (the meta one) ๐
Generated automatically by Doxygen for LAPACK from the source code. No human typed this part, it was the robots. Respect. ๐คโจ
Ngl, the whole page is basically: check your thresholds, scale if you must, tell everyone via EQUED, and never touch the triangular half you weren't asked about. That's the rule, that's the vibe check, that's the law. ๐
LAPACK, Version 3.12.0 โ and that little /home/abui...RC/dlaqsy.f(3) tag at the bottom is just the source/version flex. Bye bestie, go equilibrate something ๐๐ฆ๐ธ
๐ฆ 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