/home/abui.../spoequb.f(3)
okay bestie, welcome to the Library Functions Manual page for spoequb.f(3) β¨ β yes, we're doing Fortran linear algebra and we're gonna make it cute.
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/spoequb.f
β¨ SYNOPSIS
Functions/Subroutines
subroutine SPOEQUB (n, a, lda, s, scond, amax, info)β the main character π
π¦ FUNCTION/SUBROUTINE DOCUMENTATION
subroutine SPOEQUB (integer n, real, dimension( lda, * ) a, integer lda, real, dimension( * ) s, real scond, real amax, integer info)
SPOEQUB β yep, that's the subroutine, bestie π«Ά
πΈ PURPOSE
okay so SPOEQUB computes row and column scalings intended to equilibrate a symmetric 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.
This routine differs from SPOEQU 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 diagonal entries are no longer approximately 1 but lie between sqrt(radix) and 1/sqrt(radix). periodt π
π PARAMETERS
NβN is INTEGER. The order of the matrixA.N >= 0.AβA is REAL array, dimension (LDA,N). TheN-by-Nsymmetric positive definite matrix whose scaling factors are to be computed. Only the diagonal elements ofAare referenced.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).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.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.
π AUTHOR
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π DEFINITION AT LINE 117 OF FILE spoequb.f
Definition at line 117 of file spoequb.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole vibe, bestie π LAPACK Version 3.12.0, page /home/abui.../spoequb.f(3) β slay and bye π
π¦ 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