gecon(3)
π gecon(3) β gecon: condition number estimate π
π NAME π
gecon β bestie, the official name line is literally gecon - gecon: condition number estimate. It's giving condition-number-estimate main character energy, and this whole page is the gecon family being iconic about it. π«Ά
πΈ SYNOPSIS πΈ
π¦ Functions π¦
subroutine cgecon (norm, n, a, lda, anorm, rcond, work, rwork, info)β label:CGECONsubroutine dgecon (norm, n, a, lda, anorm, rcond, work, iwork, info)β label:DGECONsubroutine sgecon (norm, n, a, lda, anorm, rcond, work, iwork, info)β label:SGECONsubroutine zgecon (norm, n, a, lda, anorm, rcond, work, rwork, info)β label:ZGECON
β¨ Detailed Description β¨
Okay so the source has this heading and literally no extra prose attached to it. No cap, that's the whole section. The real tea starts in Function Documentation. π
π Function Documentation π
π subroutine cgecon β CGECON
subroutine cgecon (character norm, integer n, complex, dimension( lda, * )
a, integer lda, real anorm, real rcond, complex, dimension( * ) work,
real, dimension( * ) rwork, integer info)
Label: CGECON
π Purpose π
Bestie, CGECON estimates the reciprocal of the condition number of a general complex matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by CGETRF. It gets an estimate for norm(inv(A)), and then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) )
π§ Parameters π§
NORMβNORM is CHARACTER*1. Tells you whether you want the 1-norm condition number or the infinity-norm condition number:= '1' or 'O': 1-norm;= 'I': Infinity-norm.NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).ANORMβANORM is REAL. IfNORM = '1' or 'O', this is the 1-norm of the original matrixA. IfNORM = 'I', this is the infinity-norm of the original matrixA.RCONDβRCOND is REAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβWORK is COMPLEX array, dimension (2*N).RWORKβRWORK is REAL array, dimension (2*N).INFOβINFO is INTEGER.= 0:successful exit.< 0:ifINFO = -i, the i-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 cgecon.f.
π subroutine dgecon β DGECON
subroutine dgecon (character norm, integer n, double precision, dimension(
lda, * ) a, integer lda, double precision anorm, double precision rcond,
double precision, dimension( * ) work, integer, dimension( * ) iwork,
integer info)
Label: DGECON
π Purpose π
DGECON 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 DGETRF. It gets an estimate for norm(inv(A)), and then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) )
π§ Parameters π§
NORMβNORM is CHARACTER*1. 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 matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).ANORMβANORM is DOUBLE PRECISION. IfNORM = '1' or 'O', the 1-norm of the original matrixA. IfNORM = 'I', the infinity-norm of the original matrixA.RCONDβRCOND is DOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβWORK is DOUBLE PRECISION array, dimension (4*N).IWORKβIWORK is INTEGER array, dimension (N).INFOβINFO is INTEGER.= 0:successful exit.< 0:ifINFO = -i, the i-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 dgecon.f.
π subroutine sgecon β 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)
Label: SGECON
π Purpose π
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. It gets an estimate for norm(inv(A)), and then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) )
π§ Parameters π§
NORMβNORM is CHARACTER*1. 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 matrixA.N >= 0.AβA is REAL array, dimension (LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed bySGETRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).ANORMβANORM is REAL. IfNORM = '1' or 'O', the 1-norm of the original matrixA. IfNORM = 'I', the infinity-norm of the original matrixA.RCONDβRCOND is REAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 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, the i-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.
π subroutine zgecon β ZGECON
subroutine zgecon (character norm, integer n, complex*16, dimension( lda, *
) a, integer lda, double precision anorm, double precision rcond,
complex*16, dimension( * ) work, double precision, dimension( * ) rwork,
integer info)
Label: ZGECON
π Purpose π
ZGECON estimates the reciprocal of the condition number of a general complex matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by ZGETRF. It gets an estimate for norm(inv(A)), and then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) )
π§ Parameters π§
NORMβNORM is CHARACTER*1. 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 matrixA.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).ANORMβANORM is DOUBLE PRECISION. IfNORM = '1' or 'O', the 1-norm of the original matrixA. IfNORM = 'I', the infinity-norm of the original matrixA.RCONDβRCOND is DOUBLE PRECISION. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβWORK is COMPLEX*16 array, dimension (2*N).RWORKRWORKβDOUBLE PRECISION</p> array, dimension(2*N). that's it, that's the whole vibe π
INFO β INTEGER, and bestie she is telling you things:
= 0: successful exit. slay, we ate, no notes β¨< 0: ifINFO = -i, the i-th argument had an illegal value. also β NaNs are illegal values forANORM, and they propagate to the output parameterRCOND. and Infinity is illegal forANORMtoo, and it propagates to the output parameterRCONDas0. π«= 1: ifRCOND = NaN, orRCOND = Inf, or the computed norm of the inverse ofAis0. in that last case,RCOND = 0is returned. π
π Author π
like, the actual people:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 130 of file zgecon.f.
πΈ Author πΈ
so this whole thing was Generated automatically by Doxygen for LAPACK from the source code. not a human, a robot, and honestly it did great π
okay that's the whole page, you made it, I'm so proud of you π this is from LAPACK, Version 3.12.0, and it's the gecon(3) page β go forth and compute those condition numbers responsibly, ily, 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