SRC/dgeequ.f(3)
π NAME π
okay so bestie, this is the manual page for SRC/dgeequ.f β yes, the SRC/dgeequ.f(3) one β and it lives in the Library Functions Manual. Itβs giving βlinear algebra glow-upβ energy, and weβre gonna read it together π
β¨
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dgeequ (m, n, a, lda, r, c, rowcnd, colcnd, amax, info)
DGEEQU
π§ Function/Subroutine Documentation π§
subroutine dgeequ (integer m, integer n, double precision, dimension( lda, *
) a, integer lda, double precision, dimension( * ) r, double precision,
dimension( * ) c, double precision rowcnd, double precision colcnd,
double precision amax, integer info)
DGEEQU
πΈ Purpose πΈ
okay so DGEEQU computes row and column scalings 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 β with elements 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. no cap, thatβs the whole vibe check π
π Parameters π
MβM is INTEGER. Itβs the number of rows of matrixA, andM >= 0. πNβN is INTEGER. Itβs the number of columns of matrixA, andN >= 0. πΈAβA is DOUBLE PRECISION array, dimension (LDA,N). This is theM-by-Nmatrix whose equilibration factors are to be computed. πLDAβLDA is INTEGER. Itβs the leading dimension of the arrayA, andLDA >= max(1,M). β¨RβR is DOUBLE PRECISION array, dimension (M). IfINFO = 0orINFO > M,Rcontains the row scale factors forA. π¦CβC is DOUBLE PRECISION array, dimension (N). IfINFO = 0,Ccontains the column scale factors forA. πROWCNDβROWCND is DOUBLE PRECISION. 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βCOLCND is DOUBLE PRECISION. IfINFO = 0,COLCNDcontains the ratio of the smallestC(i)to the largestC(i). IfCOLCND >= 0.1, it is not worth scaling byC. π«§AMAXβAMAX is DOUBLE PRECISION. Itβs the absolute value of the largest matrix element. IfAMAXis very close to overflow or very close to underflow, the matrix should be scaled. π₯INFOβINFO is INTEGER:= 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 137 of file dgeequ.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
kisses, bestie π«Άπ β this was SRC/dgeequ.f(3) from LAPACK Version 3.12.0, and your fave Unix bestie is obsessed with how clean that scaling logic is. bye! πβ¨
π¦ 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