SRC/slaqsp.f(3)
SRC/slaqsp.f π
okay so this page is from the Library Functions Manual, and it's all about SRC/slaqsp.f β packed-matrix scaling realness, bestie β¨
β¨ NAME β¨
SRC/slaqsp.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine slaqsp (uplo, n, ap, s, scond, amax, equed)β SLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ.
β¨ Function/Subroutine Documentation β¨
subroutine slaqsp (character uplo, integer n, real, dimension( * ) ap, real, dimension( * ) s, real scond, real amax, character equed)
SLAQSP scales a symmetric/Hermitian matrix in packed storage, using scaling factors computed by sppequ.
π Purpose π
SLAQSP equilibrates a symmetric matrix A using the scaling factors in the vector S.
π Parameters π
UPLOβCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrix A is stored. ='U': Upper triangular. ='L': Lower triangular.NβINTEGER. The order of the matrix A.N >= 0.APβREAL array, 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 of A is stored in the array AP as follows: ifUPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; ifUPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n. On exit, the equilibrated matrix:diag(S) * A * diag(S), in the same storage format as A.SβREAL array, dimension (N). The scale factors for A.SCONDβREAL. Ratio of the smallestS(i)to the largestS(i).AMAXβREAL. 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., A has been replaced bydiag(S) * A * diag(S).
πΈ 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.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.
π¦ Author π¦
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 124 of file slaqsp.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole vibe π
this page is from LAPACK Version 3.12.0, and the file is SRC/slaqsp.f(3) β periodt πβ¨
π¦ 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