SRC/dgbequ.f(3)
π SRC/dgbequ.f(3) π
okay so welcome to the SRC/dgbequ.f(3) page from the Library Functions Manual, bestie β it's giving linear algebra with main character energy, and it's all about DGBEQU. π
β¨
β¨ NAME β¨
SRC/dgbequ.f β literally the name, no cap. π«Ά
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine dgbequ (m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax, info)
DGBEQU
πΈ Function/Subroutine Documentation πΈ
subroutine dgbequ (integer m, integer n, integer kl, integer ku, double precision, dimension( ldab, * ) ab, integer ldab, double precision, dimension( * ) r, double precision, dimension( * ) c, double precision rowcnd, double precision colcnd, double precision amax, integer info)
DGBEQU
β¨ Purpose β¨
DGBEQU computes row and column scalings intended to equilibrate an M-by-N band matrix A and reduce its condition number. R returns the row scale factors and C 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.
Tiny but important caveat: 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 works well in practice. π
β¨ Parameters β¨
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.KLβKLisINTEGER. The number of subdiagonals within the band ofA.KL >= 0.KUβKUisINTEGER. The number of superdiagonals within the band ofA.KU >= 0.ABβABisDOUBLE PRECISIONarray, dimension(LDAB,N). The band matrixA, stored in rows1toKL+KU+1. Thej-th column ofAis stored in thej-th column of the arrayABas follows:AB(ku+1+i-j,j) = A(i,j) for max(1,j-ku)<=i<=min(m,j+kl).LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KL+KU+1.RβRisDOUBLE PRECISIONarray, dimension(M). IfINFO = 0, orINFO > M,Rcontains the row scale factors forA.CβCisDOUBLE PRECISIONarray, dimension(N). IfINFO = 0,Ccontains the column scale factors forA.ROWCNDβROWCNDisDOUBLE 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βCOLCNDisDOUBLE PRECISION. IfINFO = 0,COLCNDcontains the ratio of the smallestC(i)to the largestC(i). IfCOLCND >= 0.1, it is not worth scaling byC.AMAXβAMAXisDOUBLE PRECISION. 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 151 of file dgbequ.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the whole page, bestie β footer facts: LAPACK Version 3.12.0, source SRC/dgbequ.f(3). slay π
β¨
π¦ 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