SRC/zlaqsy.f(3)
πΈ NAME πΈ
SRC/zlaqsy.f β bestie, this page lives in the Library Functions Manual, (3) section, and itβs all about zlaqsy. Linear algebra but make it main character energy π
β¨.
β¨ SYNOPSIS β¨
Functions/Subroutines
zlaqsyβ ZLAQSY scales a symmetric/Hermitian matrix, using scaling factors computed byspoequ.
subroutine zlaqsy (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision, dimension( * ) s, double precision scond, double precision amax, character equed)
π οΈ Function/Subroutine Documentation π οΈ
zlaqsy scales a symmetric/Hermitian matrix, using scaling factors computed by spoequ β no cap, thatβs literally the whole vibe β¨.
subroutine zlaqsy (character uplo, integer n, complex*16, dimension( lda, * ) a, integer lda, double precision, dimension( * ) s, double precision scond, double precision amax, character equed)
π― Purpose
ZLAQSY equilibrates a symmetric matrix A using the scaling factors in the vector S. Periodt π.
π§Έ Parameters
UPLOβUPLOisCHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrixAis stored.'U'= Upper triangular;'L'= Lower triangular.NβNisINTEGER. Itβs the order of the matrixA.N >= 0.AβAisCOMPLEX*16 array, dimension (LDA,N). On entry, itβs the symmetric 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', the equilibrated matrix is: diag(S) * A * diag(S).
LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.LDA >= max(N,1).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).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).
π§ 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 zlaqsy.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code.
π Okay bestie, thatβs the tea: source/version is LAPACK Version 3.12.0, file SRC/zlaqsy.f(3). Go forth and equilibrate responsibly πβ¨π¦
π¦ 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