SRC/zpbequ.f(3)
π NAME π
SRC/zpbequ.f β bestie, this is the zpbequ page from the Library Functions Manual, and we are gonna get into it. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zpbequ (uplo, n, kd, ab, ldab, s, scond, amax, info)βZPBEQU
π Function/Subroutine Documentation π
subroutine zpbequ (character uplo, integer n, integer kd, complex*16,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
s, double precision scond, double precision amax, integer info)
ZPBEQU β that's the main character, periodt. π
π― Purpose π―
Okay so ZPBEQU computes row and column scalings intended to equilibrate a Hermitian positive definite band matrix A and reduce its condition number (with respect to the two-norm). S contains the scale factors, S(i) = 1/sqrt(A(i,i)), chosen so that the scaled matrix B with elements B(i,j) = S(i)*A(i,j)*S(j) has ones on the diagonal. This choice of S puts the condition number of B within a factor N of the smallest possible condition number over all possible diagonal scalings. The math is mathing. β¨
πΈ Parameters πΈ
UPLOβCHARACTER*1= 'U': Upper triangular ofAis stored;= 'L': Lower triangular ofAis stored.
NβINTEGER. The order of the matrixA.N >= 0.KDβINTEGER. The number of superdiagonals of the matrixAifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.ABβCOMPLEX*16array, dimension(LDAB,N). The upper or lower triangle of the Hermitian band matrixA, stored in the firstKD+1rows of the array. Thej-th column ofAis stored in thej-th column of the arrayABas follows:- if
UPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; - if
UPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).
- if
LDABβINTEGER. The leading dimension of the arrayA.LDAB >= KD+1.SβDOUBLE PRECISIONarray, dimension(N). IfINFO = 0,Scontains the scale factors forA.SCONDβDOUBLE PRECISION. IfINFO = 0,Scontains the ratio of the smallestS(i)to the largestS(i). IfSCOND >= 0.1andAMAXis neither too large nor too small, it is not worth scaling byS.AMAXβDOUBLE PRECISION. Absolute value of largest matrix element. IfAMAXis very close to overflow or very close to underflow, the matrix should be scaled.INFOβINTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value.> 0: ifINFO = i, thei-th diagonal element is nonpositive.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 129 of file zpbequ.f
Yep, that's where it lives in the source, bestie. π«Ά
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
Mwah π β this page is from LAPACK Version 3.12.0, SRC/zpbequ.f(3). Bye bestie, go equilibrate something iconic! πβ¨
π¦ 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