SRC/dlaqsp.f(3)
π
SRC/dlaqsp.f(3) β bestie, this is giving Library Functions Manual energy π
πΈ NAME πΈ
SRC/dlaqsp.f β that's the page, and we're about to make it make sense, no cap π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dlaqsp (uplo, n, ap, s, scond, amax, equed)β DLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed bysppequ. Slay, that's the one-line vibe check.
π Function/Subroutine Documentation π
π¦ subroutine dlaqsp β the full glow-up π¦
subroutine dlaqsp (character uplo, integer n, double precision, dimension( *
) ap, double precision, dimension( * ) s, double precision scond, double
precision amax, character equed)
DLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ.
π― Purpose π―
DLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S. That's the whole assignment, bestie β it's doing matrix self-care with the factors it got from sppequ π
π§Έ Parameters π§Έ
UPLOβ isCHARACTER*1and says whether the upper or lower triangular part of the symmetric matrixAis stored.= 'U':Upper triangular.= 'L':Lower triangular. Pick your fave triangle, but only those two, okay? πNβ isINTEGER; the order of the matrixA.N >= 0. Zero is allowed, so don't come for it πAPβ isDOUBLE PRECISION array, dimension (N*(N+1)/2). On entry, it holds the upper or lower triangle of the symmetric matrixA, packed columnwise in a linear array. Thej-th column ofAis stored in the arrayAPas follows: ifUPLO = 'U',AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;ifUPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.On exit, it's the equilibrated matrix:diag(S) * A * diag(S), in the same storage format asA. Iconic packed-array behavior, fr fr.Sβ isDOUBLE PRECISION array, dimension (N); the scale factors forA. These are the little glow-up multipliers π«SCONDβ isDOUBLE PRECISION; ratio of the smallestS(i)to the largestS(i). It's giving "how spread out are the scale factors?" energy.AMAXβ isDOUBLE PRECISION; absolute value of largest matrix entry. Big-entry energy check βEQUEDβ isCHARACTER*1and says whether or not equilibration was done.= 'N':No equilibration.= 'Y':Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S). We love a clear yes/no, periodt.
π₯ Internal Parameters π₯
THRESHβ is a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done. The vibe check threshold, basically.LARGEandSMALLβ are 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. Big or tiny, either way it triggers the scaling behavior π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 124 of file dlaqsp.f. Not me clocking the exact line number β yes I am π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Yes, bestie, the robots wrote this one, and they ate β¨
Bye bestie π«Ά This page comes from LAPACK, Version 3.12.0, and it's SRC/dlaqsp.f(3). The footer didn't print a date, so we're not making one up β mysterious timestamp energy only π
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms