SRC/zlaqhe.f(3)
π NAME π
okay so this page is from SRC/zlaqhe.f(3), and it lives in the Library Functions Manual. It's literally all about zlaqhe: the subroutine that scales a Hermitian matrix. slay. π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine zlaqhe (uplo, n, a, lda, s, scond, amax, equed)βZLAQHEscales a Hermitian matrix.
π¦ Function/Subroutine Documentation π¦
subroutine zlaqhe (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision, dimension( * ) s, double precision scond, double precision amax, character equed)
ZLAQHE scales a Hermitian matrix. that's the main character energy right there. β¨
π Purpose π
ZLAQHE equilibrates a Hermitian matrix A using the scaling factors in the vector S. that's the whole purpose, bestie β the matrix is getting its equilibrated moment. π
π Parameters π
UPLOβUPLOisCHARACTER*1, and it tells you whether the upper or lower triangular part of the Hermitian matrixAis stored.= 'U':Upper triangular.= 'L':Lower triangular. pick your triangle, no cap. πNβNisINTEGER. it's the order of the matrixA, andN >= 0. periodt.AβAisCOMPLEX*16 array, dimension (LDA,N). on entry, it's the Hermitian matrixA. 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. π«Ά
on exit, if EQUED = 'Y', it's the equilibrated matrix: diag(S) * A * diag(S). iconic behavior.
LDAβLDAisINTEGER. it's the leading dimension of the arrayA, andLDA >= max(N,1). don't forget the max, bestie. πSβSisDOUBLE PRECISION array, dimension (N). these are the scale factors forA. π«SCONDβSCONDisDOUBLE PRECISION. it's the ratio of the smallestS(i)to the largestS(i). math girlies rise. πΈAMAXβAMAXisDOUBLE PRECISION. it's the absolute value of the largest matrix entry. π₯EQUEDβEQUEDisCHARACTER*1. it specifies whether or not equilibration was done.= 'N':No equilibration.= 'Y':Equilibration was done, i.e.,Ahas been replaced bydiag(S) * A * diag(S). that's the tea. β
π§ Internal Parameters π§
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. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file zlaqhe.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the footer tea, bestie: LAPACK, Version 3.12.0, source SRC/zlaqhe.f(3). the date slot is not giving a date on this page, so we're not inventing one β 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