SRC/dpbequ.f(3)
πΈ NAME πΈ
SRC/dpbequ.f β okay bestie, this page is from the Library Functions Manual, and it's here to explain DPBEQU like we're in the group chat. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dpbequ (uplo, n, kd, ab, ldab, s, scond, amax, info)
DPBEQU
That's the whole synopsis, no cap. π
π Function/Subroutine Documentation π
subroutine dpbequ (character uplo, integer n, integer kd, double precision,
dimension( ldab, * ) ab, integer ldab, double precision, dimension( * )
s, double precision scond, double precision amax, integer info)
DPBEQU
This is the full signature, bestie β every type and dimension exactly as the page says. π«Ά
π Purpose π
Okay so here's the tea: DPBEQU computes row and column scalings intended to equilibrate a symmetric 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. Slay. β¨
π 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βDOUBLE PRECISION array, dimension (LDAB,N). The upper or lower triangle of the symmetric 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) for max(1,j-kd)<=i<=j;
if UPLO = 'L', AB(1+i-j,j) = A(i,j) for j<=i<=min(n,j+kd).
LDABβINTEGER. The leading dimension of the arrayA.LDAB >= KD+1.SβDOUBLE PRECISION array, dimension (N). IfINFO = 0,Scontains the scale factors forA.SCONDβDOUBLE PRECISION. The page literally says: 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: if INFO = -i, the i-th argument had an illegal value.
> 0: if INFO = i, the i-th diagonal element is nonpositive.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 128 of file dpbequ.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
Okay that's the whole page, bestie β mwah! π This was SRC/dpbequ.f(3) from LAPACK Version 3.12.0. Go equilibrate something and hydrate. π«Άβ¨
π¦ 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