hecon(3)
π hecon(3) β {he,sy}con: condition number estimate
okay so bestie, this is hecon(3), aka the {he,sy}con condition-number-estimate situation, and it's lowkey serving serious linear-algebra main character energy. We're keeping every deet, every flag, every formula, no cap. β¨
β¨ NAME β¨
hecon β {he,sy}con: condition number estimate
π SYNOPSIS π
β¨ Functions β¨
subroutine checon (uplo, n, a, lda, ipiv, anorm, rcond, work, info)βCHECONsubroutine csycon (uplo, n, a, lda, ipiv, anorm, rcond, work, info)βCSYCONsubroutine dsycon (uplo, n, a, lda, ipiv, anorm, rcond, work, iwork, info)βDSYCONsubroutine ssycon (uplo, n, a, lda, ipiv, anorm, rcond, work, iwork, info)βSSYCONsubroutine zhecon (uplo, n, a, lda, ipiv, anorm, rcond, work, info)βZHECONsubroutine zsycon (uplo, n, a, lda, ipiv, anorm, rcond, work, info)βZSYCON
π¦ Detailed Description π¦
This is the detailed-description zone, and then the function docs take over. Keep scrolling, bestie π .
π₯ Function Documentation π₯
π subroutine checon β CHECON
subroutine checon (character uplo, integer n, complex, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real rcond, complex, dimension( * ) work, integer info)
π― Purpose
CHECON estimates the reciprocal of the condition number of a complex Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed by CHETRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
π§Ύ Parameters
UPLOβUPLO is CHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U':Upper triangular, form isA = U*D*U**H;= 'L':Lower triangular, form isA = L*D*L**H.NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byCHETRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined byCHETRF.ANORMβANORM is REAL. The 1-norm of the original matrixA.RCONDβRCOND is REAL. 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βWORK is COMPLEX array, dimension (2*N).INFOβINFO is INTEGER.= 0:successful exit.< 0:ifINFO = -i, thei-th argument had an illegal value.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 123 of file checon.f.
π©· subroutine csycon β CSYCON
subroutine csycon (character uplo, integer n, complex, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real rcond, complex, dimension( * ) work, integer info)
π― Purpose
CSYCON estimates the reciprocal of the condition number (in the 1-norm) of a complex symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by CSYTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
π§Ύ Parameters
UPLOβUPLO is CHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U':Upper triangular, form isA = U*D*U**T;= 'L':Lower triangular, form isA = L*D*L**T.NβN is INTEGER. The order of the matrixA.N >= 0.AβA is COMPLEX array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byCSYTRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined byCSYTRF.ANORMβANORM is REAL. The 1-norm of the original matrixA.RCONDβRCOND is REAL. 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βWORK is COMPLEX array, dimension (2*N).INFOβINFO is INTEGER.= 0:successful exit.< 0:ifINFO = -i, thei-th argument had an illegal value.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 123 of file csycon.f.
π subroutine dsycon β DSYCON
subroutine dsycon (character uplo, integer n, double precision, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, double precision anorm, double precision rcond, double precision, dimension( * ) work, integer, dimension( * ) iwork, integer info)
π― Purpose
DSYCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by DSYTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
π§Ύ Parameters
UPLOβUPLO is CHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U':Upper triangular, form isA = U*D*U**T;= 'L':Lower triangular, form isA = L*D*L**T.NβN is INTEGER. The order of the matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byDSYTRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined byDSYTRF.ANORMβANORM is DOUBLE PRECISION. The 1-norm of the original matrixA.RCONDβRCOND is DOUBLE PRECISION. 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βWORK is DOUBLE PRECISION array, dimension (2*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.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 128 of file dsycon.f.
πΈ subroutine ssycon β SSYCON
subroutine ssycon (character uplo, integer n, real, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real rcond, real, dimension( * ) work, integer, dimension( * ) iwork, integer info)
π― Purpose
SSYCON estimates the reciprocal of the condition number (in the 1-norm) of a real symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by SSYTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
π§Ύ Parameters
UPLOβUPLO is CHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U':Upper triangular, form isA = U*D*U**T;= 'L':Lower triangular, form isA = L*D*L**T.NβN is INTEGER. The order of the matrixA.N >= 0.AβA is REAL array, dimension (LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed bySSYTRF.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined bySSYTRF.ANORMβANORM is REAL. The 1-norm of the original matrixA.RCONDβRCOND is REAL. 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βWORK is REAL array, dimension (2*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.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 128 of file ssycon.f.
ZHECON π¦
subroutine zhecon (character uplo, integer n, complex*16, dimension( lda, *
) a, integer lda, integer, dimension( * ) ipiv, double precision anorm,
double precision rcond, complex*16, dimension( * ) work, integer info)
π Purpose
okay so bestie, ZHECON estimates the reciprocal of the condition number of a complex Hermitian matrix A β and it does it using the factorization A = U*D*U**H or A = L*D*L**H that ZHETRF already computed for you. no re-doing the whole factorization, we're just reusing the vibes β¨
An estimate is obtained for norm(inv(A)), and then the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). literally that's it. that's the whole formula. slay.
πΈ Parameters
UPLOβUPLO is CHARACTER*1. says whether the details of the factorization are stored as an upper or lower triangular matrix:= 'U': upper triangular, form isA = U*D*U**H;= 'L': lower triangular, form isA = L*D*L**H.
NβN is INTEGER. the order of the matrixA.N >= 0. (yes, zero is allowed, we don't judge π )AβA is COMPLEX*16 array, dimension (LDA,N). this is the block diagonal matrixDplus the multipliers used to obtain the factorUorL, exactly as computed byZHETRF.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N). respect the leading dimension or perish πIPIVβIPIV is INTEGER array, dimension (N). the details of the interchanges and the block structure ofD, as determined byZHETRF.ANORMβANORM is DOUBLE PRECISION. the 1-norm of the original matrixA. you gotta hand it in yourself, it's not computed here, so no cap.RCONDβRCOND is DOUBLE PRECISION. 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. this is the output you actually came for, bestie πWORKβWORK is COMPLEX*16 array, dimension (2*N). scratch space, it does stuff, you just supply it π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 123 of file zhecon.f. noted. filed. archived. π
ZSYCON π§
subroutine zsycon (character uplo, integer n, complex*16, dimension( lda, *
) a, integer lda, integer, dimension( * ) ipiv, double precision anorm,
double precision rcond, complex*16, dimension( * ) work, integer info)
π Purpose
ZSYCON estimates the reciprocal of the condition number (in the 1-norm) of a complex symmetric matrix A using the factorization A = U*D*U**T or A = L*D*L**T computed by ZSYTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))). same formula, different factorization energy β note the **T not **H, and that's not a typo, that's the whole point of the symmetric version π₯
π Parameters
UPLOβUPLO is CHARACTER*1. specifies whether the details of the factorization are stored as an upper or lower triangular matrix:= 'U': upper triangular, form isA = U*D*U**T;= 'L': lower triangular, form isA = L*D*L**T.
NβN is INTEGER. the order of the matrixA.N >= 0.AβA is COMPLEX*16 array, dimension (LDA,N). the block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byZSYTRF.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). details of the interchanges and the block structure ofDas determined byZSYTRF.ANORMβANORM is DOUBLE PRECISION. the 1-norm of the original matrixA.RCONDβRCOND is DOUBLE PRECISION. 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βWORK is COMPLEX*16 array, dimension (2*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 123 of file zsycon.f. yes, both of them are line 123, no I'm not messing with you, that's just how the source code wanted it π«Ά
π Author (page footer energy)
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this footer, a robot did it, and honestly? iconic. π€π
and the last line said LAPACK, Version 3.12.0, hecon(3) β so this whole masterpiece is LAPACK 3.12.0, served fresh in section 3 of the manual. that's a wrap, bestie, go condition some 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