SRC/ctrcon.f(3)
πΈ NAME πΈ
okay so bestie, this is SRC/ctrcon.f(3) from the Library Functions Manual β the page for SRC/ctrcon.f π
no cap, we're getting into ctrcon and it's lowkey iconic.
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine ctrcon (norm, uplo, diag, n, a, lda, rcond, work, rwork,
info)
CTRCON
π Function/Subroutine Documentation π
π§ subroutine ctrcon π§
subroutine ctrcon (character norm, character uplo, character diag, integer
n, complex, dimension( lda, * ) a, integer lda, real rcond, complex,
dimension( * ) work, real, dimension( * ) rwork, integer info)
CTRCON
π― Purpose π―
okay so CTRCON estimates the reciprocal of the condition number of a triangular matrix A, in either the 1-norm or the infinity-norm. It computes the norm of A and gets an estimate for norm(inv(A)), 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 you want the 1-norm condition number or the infinity-norm condition number:= '1'or'O': 1-norm;= 'I': Infinity-norm.
UPLOβUPLO is CHARACTER*1:= 'U':Ais upper triangular;= 'L':Ais lower triangular.
DIAGβDIAG is CHARACTER*1:= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA,N). The triangular matrixA.- If
UPLO = 'U', the leading N-by-N upper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. - If
UPLO = 'L', the leading N-by-N lower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. - If
DIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be1.
- If
LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).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 (N).INFOβINFO is INTEGER:= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
β¨ Author β¨
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 135 of file ctrcon.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole vibe: LAPACK, Version 3.12.0, page SRC/ctrcon.f(3) β byeee, drink water and slay your condition numbers πβ¨
π¦ 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