CPBEQU(3)
π CPBEQU(3) β Library Functions Manual β¨
okay bestie, this page lives at /home/abui...RC/cpbequ.f(3), and itβs here to explain the CPBEQU subroutine. No cap. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cpbequ.f
π«Ά SYNOPSIS π«Ά
Functions/Subroutines π¦
subroutine CPBEQU (uplo, n, kd, ab, ldab, s, scond, amax, info)
CPBEQU
π¦ Function/Subroutine Documentation π¦
Hereβs the full signature, bestie β copied exactly so nobody comes for us:
subroutine CPBEQU (character uplo, integer n, integer kd, complex,
dimension( ldab, * ) ab, integer ldab, real, dimension( * ) s, real
scond, real amax, integer info)
CPBEQU
π Purpose π
CPBEQU 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. slay linear algebra moment β¨
πΈ Parameters πΈ
UPLO π
UPLOisCHARACTER*1.= 'U': Upper triangular ofAis stored;= 'L': Lower triangular ofAis stored.
N β
NisINTEGER.- The order of the matrix
A.N >= 0.
KD π¦
KDisINTEGER.- The number of superdiagonals of the matrix
AifUPLO = 'U', or the number of subdiagonals ifUPLO = 'L'.KD >= 0.
AB π
ABisCOMPLEX array, dimension (LDAB,N).- The upper or lower triangle of the Hermitian band matrix
A, stored in the firstKD+1rows of the array. The j-th column ofAis stored in the j-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 π
LDABisINTEGER.- The leading dimension of the array
A.LDAB >= KD+1.
S π
SisREAL array, dimension (N).- If
INFO = 0,Scontains the scale factors forA.
SCOND π§
SCONDisREAL.- If
INFO = 0, the docs sayScontains 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 π
AMAXisREAL.- Absolute value of largest matrix element. If
AMAXis 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, the i-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 cpbequ.f π
This lil subroutine is defined at line 129 of file cpbequ.f. periodt.
π Author (generated automatically) π
Generated automatically by Doxygen for LAPACK from the source code.
Footer tea, bestie: LAPACK Version 3.12.0 and /home/abui...RC/cpbequ.f(3) β date? Not in the footer, so weβre not inventing one. π
π
π¦ 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