SRC/zgbequb.f(3)
π¦ SRC/zgbequb.f β Library Functions Manual π
Okay bestie, welcome to the glow-up of a page from the Library Functions Manual. Itβs all about SRC/zgbequb.f, and we are keeping every technical detail intact. No cap. β¨
β¨ NAME β¨
SRC/zgbequb.f
Thatβs the name. Minimal. Iconic. Periodt.
π SYNOPSIS π
Functions/Subroutines
subroutine zgbequb (m, n, kl, ku, ab, ldab, r, c, rowcnd, colcnd, amax, info)βZGBEQUB
π Function/Subroutine Documentation π
π«Ά subroutine zgbequb π«Ά
subroutine zgbequb (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)
ZGBEQUB
πΈ Purpose πΈ
Bestie, ZGBEQUB 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 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 an absolute value of at most the radix.
R(i) and C(j) are restricted to be a power of the radix 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.
This routine differs from ZGEEQU by restricting the scaling factors to a power of the radix. Barring over- and underflow, scaling by these factors introduces no additional rounding errors. However, the scaled entriesβ magnitudes are no longer approximately 1 but lie between sqrt(radix) and 1/sqrt(radix).
π Parameters π
MβM is INTEGER. The number of rows of the matrixA.M >= 0.NβN is INTEGER. The number of columns of the matrixA.N >= 0.KLβKL is INTEGER. The number of subdiagonals within the band ofA.KL >= 0.KUβKU is INTEGER. The number of superdiagonals within the band ofA.KU >= 0.ABβAB is COMPLEX*16 array, dimension (LDAB,N). On entry, the matrixAin band storage, 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(N,j+kl)LDABβLDAB is INTEGER. The leading dimension of the arrayA.LDAB >= 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. Absolute value of 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 159 of file zgbequb.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Cute sign-off: brought to you by LAPACK, Version 3.12.0, page SRC/zgbequb.f(3) β thatβs the footer energy, bestie. π
β¨π
π¦ 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