CLAQSP(3)
π CLAQSP(3) β like, the whole manual page, bestie
okay so first things first: this page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/claqsp.f β yeah that path is a lot, and the header/footer are out here truncating it to /home/abui...RC/claqsp.f(3) with <pink>Library Functions Manual</pink> vibes. That's the manual section of record, iykyk. β¨
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine CLAQSP (uplo, n, ap, s, scond, amax, equed)
CLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ. π«Ά
π¦ Function/Subroutine Documentation π¦
subroutine CLAQSP (character uplo, integer n, complex, dimension( * ) ap,
real, dimension( * ) s, real scond, real amax, character equed)
Same deal, one more time for the people in the back: CLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ. π
β¨ Purpose β¨
!>
!> CLAQSP equilibrates a symmetric matrix A using the scaling factors
!> in the vector S.
!>
so basically: it takes your matrix A, grabs the scale factors sitting in S, and equilibrates. balance era. π
π Parameters π
UPLOβ it's aCHARACTER*1, and it tells us which triangle of the symmetric matrixAwe're actually keeping:= 'U': Upper triangular= 'L': Lower triangular
NβINTEGER, the order of the matrixA. Constraint:N >= 0. no negative sizes bestie it's not that kind of function πAPβCOMPLEXarray, dimension(N*(N+1)/2).- On entry: the upper or lower triangle of the symmetric matrix
A, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPlike this:- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n.
- if
- On exit: the equilibrated matrix,
diag(S) * A * diag(S), in the same storage format asA. it literally got a glow-up in place π
- On entry: the upper or lower triangle of the symmetric matrix
SβREALarray, dimension(N). The scale factors forA. πSCONDβREAL. Ratio of the smallestS(i)to the largestS(i). it's giving range check π₯AMAXβREAL. Absolute value of largest matrix entry. the big one, literally πEQUEDβCHARACTER*1, specifies whether or not equilibration was done:= 'N': No equilibration.= 'Y': Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S). slay, it happened π
π§ Internal Parameters π§
!> THRESH is a threshold value used to decide if scaling should be done
!> based on the ratio of the scaling factors. If SCOND < THRESH,
!> scaling is done.
!>
!> LARGE and SMALL are threshold values used to decide if scaling should
!> be done based on the absolute size of the largest matrix element.
!> If AMAX > LARGE or AMAX < SMALL, scaling is done.
!>
so THRESH is the vibe check on the ratio of the scaling factors β if SCOND < THRESH, scaling happens. and LARGE / SMALL are the vibe checks on raw size β if AMAX > LARGE or AMAX < SMALL, scaling happens too. multiple bouncers, same club π«Ά
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 125 of file claqsp.f. β
πΈ Author (again, but the meta one) πΈ
Generated automatically by Doxygen for LAPACK from the source code. not a human, just automation being iconic π
ok but fr fr β keepTHRESH,LARGEandSMALLexactly as described, they're internal thresholds and not extra arguments you can pass. no inventing, no cap. π§
that's the whole page, bestie β every flag, every formula, every author, nothing skipped, periodt. π
LAPACK β Version 3.12.0, page /home/abui...RC/claqsp.f(3), dated by its footer. bye bye, drink water, 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