SRC/cpoequ.f(3)
πΈ NAME
okay so bestie, this is the Library Functions Manual page for SRC/cpoequ.f β yes, the NAME section is literally that path, and honestly? iconic minimalism. π
β¨ SYNOPSIS
π«Ά Functions/Subroutines
subroutine cpoequ (n, a, lda, s, scond, amax, info)
CPOEQU
that's the whole synopsis, no cap. π
π Function/Subroutine Documentation
subroutine cpoequ (integer n, complex, dimension( lda, * ) a, integer lda,
real, dimension( * ) s, real scond, real amax, integer info)
CPOEQU
okay so this is the glow-up signature, and yes, CPOEQU is the main character. π
π Purpose
CPOEQU computes row and column scalings intended to equilibrate a Hermitian positive definite 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. literally the math is mathing π
π§ Parameters
NβN is INTEGER; the order of the matrixA.N >= 0. she's the size, periodt. πAβA is COMPLEX array, dimension (LDA,N); the N-by-N Hermitian positive definite matrix whose scaling factors are to be computed. Only the diagonal elements ofAare referenced. so don't stress about the off-diagonals here, iykyk. π¦LDAβLDA is INTEGER; the leading dimension of the arrayA.LDA >= max(1,N). very demure, very dimension-coded. πSβS is REAL array, dimension (N); ifINFO = 0,Scontains the scale factors forA. πΈSCONDβSCOND is REAL; 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. not me double-checking that caveat β we respect it. πAMAXβAMAX is REAL; 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, thei-th diagonal element is nonpositive. periodt. π
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 112 of file cpoequ.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π cute little sign-off: LAPACK, Version 3.12.0, and SRC/cpoequ.f(3) β source/version/page-tag realness, bestie. bye! π«Άπ
π¦ 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