SRC/zlaqsp.f(3)
π NAME π
SRC/zlaqsp.f β bestie, this is the page, and it's chilling in the Library Functions Manual. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine zlaqsp (uplo, n, ap, s, scond, amax, equed)
The whole point? ZLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ. Slay. π
πΈ Function/Subroutine Documentation πΈ
subroutine zlaqsp (character uplo, integer n, complex*16, dimension( * ) ap,
double precision, dimension( * ) s, double precision scond, double
precision amax, character equed)
Okay so this is the same subroutine, fully documented: ZLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ. Iconic behavior, honestly. β¨
π Purpose π
ZLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S. That's the main-character job. π
π Parameters π
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrixAis stored.= 'U':Upper triangular= 'L':Lower triangular
NβINTEGER. The order of the matrixA.N >= 0.APβCOMPLEX*16 array, dimension (N*(N+1)/2). On entry, the upper or lower triangle of the symmetric matrixA, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPas follows:- 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 as A. π«
SβDOUBLE PRECISION array, dimension (N). The scale factors forA.SCONDβDOUBLE PRECISION. Ratio of the smallestS(i)to the largestS(i).AMAXβDOUBLE PRECISION. Absolute value of largest matrix entry.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).
π₯ Internal Parameters π₯
THRESHβ a threshold value used to decide if scaling should be done based on the ratio of the scaling factors. IfSCOND < THRESH, scaling is done.LARGEandSMALLβ 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.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 125 of file zlaqsp.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
Signing off: LAPACK Version 3.12.0 Β· SRC/zlaqsp.f(3) β periodt, bestie. πβ¨π«Ά
π¦ 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