SRC/sgecon.f(3)
π NAME π
okay so this is SRC/sgecon.f(3) from the Library Functions Manual, and it's literally the page for sgecon β yes bestie, we're doing LAPACK Fortran tea today π
β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine sgecon (norm, n, a, lda, anorm, rcond, work, iwork, info)βSGECON
π«Ά Function/Subroutine Documentation π«Ά
π subroutine sgecon π
subroutine sgecon (character norm, integer n, real, dimension( lda, * ) a,
integer lda, real anorm, real rcond, real, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
SGECON
π Purpose π
okay so SGECON estimates the reciprocal of the condition number of a general real matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGETRF. no cap, that's the whole vibe π₯
an estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
π Parameters π
πΈ NORM πΈ
NORM is CHARACTER*1 and specifies whether the 1-norm condition number or the infinity-norm condition number is required:
'1'or'O': 1-norm;'I': Infinity-norm.
πΈ N πΈ
N is INTEGER, the order of the matrix A. N >= 0. periodt.
πΈ A πΈ
A is REAL array, dimension (LDA,N), holding the factors L and U from the factorization A = P*L*U as computed by SGETRF.
πΈ LDA πΈ
LDA is INTEGER, the leading dimension of the array A. LDA >= max(1,N).
πΈ ANORM πΈ
ANORM is REAL:
- if
NORM = '1'or'O', it's the 1-norm of the original matrixA; - if
NORM = 'I', it's the infinity-norm of the original matrixA.
πΈ RCOND πΈ
RCOND is REAL, the reciprocal of the condition number of the matrix A, computed as RCOND = 1/(norm(A) * norm(inv(A))).
πΈ WORK πΈ
WORK is REAL array, dimension (4*N).
πΈ IWORK πΈ
IWORK is INTEGER array, dimension (N).
πΈ INFO πΈ
INFO is INTEGER:
= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value. NaNs are illegal values forANORM, and they propagate to the output parameterRCOND. Infinity is illegal forANORM, and it propagates to the output parameterRCONDas0.= 1: ifRCOND = NaN, orRCOND = Inf, or the computed norm of the inverse ofAis0. In the latter,RCOND = 0is returned.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line π
Definition at line 130 of file sgecon.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
that's the whole page, bestie π β LAPACK Version 3.12.0, SRC/sgecon.f(3). mwah π«Άβ¨
π¦ 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