SRC/spocon.f(3)
π SRC/spocon.f(3) π
okay so this is a page from the Library Functions Manual β manual name folded in right here, bestie, because we are not copying that header line like a robot. The title is SRC/spocon.f(3), and it's all about one little subroutine. periodt.
πΈ NAME πΈ
SRC/spocon.f β that's the name, short and iconic.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine spocon (uplo, n, a, lda, anorm, rcond, work, iwork, info)
SPOCON
π¦ Function/Subroutine Documentation π¦
subroutine spocon (character uplo, integer n, real, dimension( lda, * ) a,
integer lda, real anorm, real rcond, real, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
SPOCON is the main character here, and honestly? It ate.
π¦ Purpose π¦
okay so what does it do? SPOCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric positive definite matrix using the Cholesky factorization A = U**T*U or A = L*L**T computed by SPOTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). literally the whole vibe.
π Parameters π
here's the whole cast, no skips:
UPLOβUPLOisCHARACTER*1.= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored. choose your triangle, bestie.NβNisINTEGER. The order of the matrixA.N >= 0.AβAisREAL array, dimension (LDA,N). The triangular factorUorLfrom the Cholesky factorizationA = U**T*UorA = L*L**T, as computed bySPOTRF.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).ANORMβANORMisREAL. The 1-norm (or infinity-norm) of the symmetric matrixA.RCONDβRCONDisREAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine.WORKβWORKisREAL array, dimension (3*N).IWORKβIWORKisINTEGER array, dimension (N).INFOβINFOisINTEGER:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
vibe check note: if INFO = -i, that means the i-th argument had an illegal value β no cap, that's the error.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 119 of file spocon.f. π
that's the exact line, bestie β no edits.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. β iconic automation behavior, honestly.
π that's the whole SRC/spocon.f(3) page, bestie! π footer vibe: LAPACK Version 3.12.0 and SRC/spocon.f(3) β and there's no separate date in the footer, so I'm not inventing one. periodt. π«Ά
π¦ 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