SRC/zlaqge.f(3)
β¨ NAME β¨
okay bestie, this is the page for SRC/zlaqge.f, and it's coming at you from the Library Functions Manual π
. It's a LAPACK function page, and we're about to get into some matrix-equilibration business. Periodt.
π¦ SYNOPSIS π¦
πΈ Functions/Subroutines πΈ
subroutine zlaqge (m, n, a, lda, r, c, rowcnd, colcnd, amax, equed)
ZLAQGE scales a general rectangular matrix, using row and column
scaling factors computed by sgeequ.
π Function/Subroutine Documentation π
π subroutine zlaqge π
subroutine zlaqge (integer m, integer n, complex*16, dimension( lda, * ) a,
integer lda, double precision, dimension( * ) r, double precision,
dimension( * ) c, double precision rowcnd, double precision colcnd,
double precision amax, character equed)
ZLAQGE scales a general rectangular matrix, using row and column scaling factors computed by sgeequ. It's giving very "let me fix your vibes" energy for a matrix π₯.
π Purpose π
ZLAQGE equilibrates a general M by N matrix A using the row and column scaling factors in the vectors R and C. Obsessed with a balanced matrix, honestly.
π Parameters π
Mβ okay soM is INTEGER, and it's the number of rows of the matrixA.M >= 0. π«ΆNβN is INTEGER, and it's the number of columns of the matrixA.N >= 0. πΈAβA is COMPLEX*16 array, dimension (LDA,N). On entry, it's theMbyNmatrixA. On exit, it's the equilibrated matrix. SeeEQUEDfor the form of the equilibrated matrix. π¦LDAβLDA is INTEGER, and it's the leading dimension of the arrayA.LDA >= max(M,1). Don't skip this, bestie. πRβR is DOUBLE PRECISION array, dimension (M). These are the row scale factors forA. πCβC is DOUBLE PRECISION array, dimension (N). These are the column scale factors forA. πROWCNDβROWCND is DOUBLE PRECISION. It's the ratio of the smallestR(i)to the largestR(i). π«COLCNDβCOLCND is DOUBLE PRECISION. It's the ratio of the smallestC(i)to the largestC(i). β¨AMAXβAMAX is DOUBLE PRECISION. It's the absolute value of the largest matrix entry. πEQUEDβEQUED is CHARACTER*1. It specifies the form of equilibration that was done:= 'N': No equilibration= 'R': Row equilibration, i.e.,Ahas been premultiplied bydiag(R).= 'C': Column equilibration, i.e.,Ahas been postmultiplied bydiag(C).= 'B': Both row and column equilibration, i.e.,Ahas been replaced bydiag(R) * A * diag(C). π
π§ Internal Parameters π§
THRESH is a threshold value used to decide if row or column scaling should be done based on the ratio of the row or column scaling factors. If ROWCND < THRESH, row scaling is done, and if COLCND < THRESH, column scaling is done. π
LARGE and SMALL are threshold values used to decide if row scaling should be done based on the absolute size of the largest matrix element. If AMAX > LARGE or AMAX < SMALL, row scaling is done. π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 141 of file zlaqge.f. π«‘
π Author π
Generated automatically by Doxygen for LAPACK from the source code. β¨
mwah π LAPACK Version 3.12.0 and this page is SRC/zlaqge.f(3) β bye bestie, go equilibrate something cute π«Άβ¨
π¦ 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