CGEEQU(3)
π CGEEQU(3) β Library Functions Manual π
okay bestie, welcome to CGEEQU(3) from the Library Functions Manual. The page header path is /home/abui...RC/cgeequ.f(3) β yep, itβs giving βI appear on both sides of the header,β lowkey iconic. Letβs get into it. π«Ά
π NAME π
The name on this page is literally this path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgeequ.f
No cap, thatβs the whole NAME section. π
π¦ SYNOPSIS π¦
β¨ Functions/Subroutines β¨
subroutine CGEEQU (m, n, a, lda, r, c, rowcnd, colcnd, amax, info)
CGEEQU
π Function/Subroutine Documentation π
subroutine CGEEQU (integer m, integer n, complex, dimension( lda, * ) a,
integer lda, real, dimension( * ) r, real, dimension( * ) c, real
rowcnd, real colcnd, real amax, integer info)
CGEEQU
π Purpose π
okay so CGEEQU computes row and column scalings that are intended to equilibrate an M-by-N matrix A and reduce its condition number. R returns the row scale factors and C returns the column scale factors, chosen to try to make the largest element in each row and column of the matrix B β where the elements are B(i,j)=R(i)*A(i,j)*C(j) β have absolute value 1. β¨
R(i) and C(j) are restricted to be between SMLNUM = smallest safe number and BIGNUM = largest safe number. Use of these scaling factors is not guaranteed to reduce the condition number of A, but it works well in practice. π
β οΈ caveat alert: the scaling is not guaranteed to reduce the condition number of A, but it works well in practice. fr fr.
πΈ Parameters πΈ
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.AβAisCOMPLEX array, dimension (LDA,N). TheM-by-Nmatrix whose equilibration factors are to be computed.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).RβRisREAL array, dimension (M). IfINFO = 0orINFO > M,Rcontains the row scale factors forA.CβCisREAL array, dimension (N). IfINFO = 0,Ccontains the column scale factors forA.ROWCNDβROWCNDisREAL. IfINFO = 0orINFO > M,ROWCNDcontains the ratio of the smallestR(i)to the largestR(i). IfROWCND >= 0.1andAMAXis neither too large nor too small, it is not worth scaling byR.COLCNDβCOLCNDisREAL. IfINFO = 0,COLCNDcontains the ratio of the smallestC(i)to the largestC(i). IfCOLCND >= 0.1, it is not worth scaling byC.AMAXβAMAXisREAL. Absolute value of largest matrix element. IfAMAXis very close to overflow or very close to underflow, the matrix should be scaled.INFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i, andiis<= M: thei-th row ofAis exactly zero> M: the(i-M)-th column ofAis exactly zero
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 138 of file cgeequ.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
π Thatβs the whole page, bestie π β the footer says LAPACK Version 3.12.0 and /home/abui...RC/cgeequ.f(3). No date on this footer, just so you know. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms