ZGBEQU(3)
π NAME π
okay so bestie, this is ZGBEQU(3) from the Library Functions Manual β yes, the whole manual name is folded in right here. The file behind the curtain is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/zgbequ.f, and it's giving major LAPACK energy. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine ZGBEQU (m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax,
info)
ZGBEQU
π Function/Subroutine Documentation π
π subroutine ZGBEQU π
subroutine ZGBEQU (integer m, integer n, integer kl, integer ku, complex*16,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
r, double precision, dimension( * ) c, double precision rowcnd, double
precision colcnd, double precision amax, integer info)
ZGBEQU
πΈ Purpose πΈ
okay so ZGBEQU 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. slay. β¨
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.
bestie, lowkey important: the reduction is not guaranteed β it just works well in practice, no cap.
π« 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βABisCOMPLEX*16 array, dimension (LDAB,N). The band matrixA, stored in rows 1 toKL+KU+1. The j-th column ofAis stored in the j-th column of the arrayABas follows:AB(ku+1+i-j,j) = A(i,j)formax(1,j-ku)<=i<=min(m,j+kl).LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= KL+KU+1.RβRisDOUBLE PRECISION array, dimension (M). IfINFO = 0, orINFO > M,Rcontains the row scale factors forA.CβCisDOUBLE PRECISION array, 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, the i-th argument had an illegal value> 0: ifINFO = i, andiis<= M: the i-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 π
Definition at line 152 of file zgbequ.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
cute sign-off, bestie: this footer vibe is LAPACK, Version 3.12.0, plus the path /home/abui...RC/zgbequ.f(3). that's the whole footer tea. π«Άπ
π¦ 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