hecon_rook(3)
π hecon_rook(3) π
okay so bestie, you found a Library Functions Manual page, and it's a long one β this is hecon_rook, and it's basically the condition-number-estimate queen of the LAPACK rook family π. She comes in two parts and we're on part one, so buckle up π
β¨ NAME β¨
hecon_rook β {he,sy}con_rook: condition number estimate
πΈ SYNOPSIS πΈ
π¦ Functions π¦
subroutine checon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, info)β CHECON_ROOK estimates the reciprocal of the condition number for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges)subroutine csycon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, info)β CSYCON_ROOKsubroutine dsycon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, iwork, info)β DSYCON_ROOKsubroutine ssycon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, iwork, info)β SSYCON_ROOKsubroutine zhecon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, info)β ZHECON_ROOK estimates the reciprocal of the condition number for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges)subroutine zsycon_rook (uplo, n, a, lda, ipiv, anorm, rcond, work, info)β ZSYCON_ROOK
π«Ά Detailed Description π«Ά
so the original page has this heading and then justβ¦ nothing under it. truly gave us nothing and left π. iconic minimalism honestly. moving on!
β Function Documentation β
π
subroutine checon_rook π
subroutine checon_rook (character uplo, integer n, complex, dimension( lda,
* ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real
rcond, complex, dimension( * ) work, integer info)
CHECON_ROOK estimates the reciprocal of the condition number for HE matrices using factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges)
π Purpose π
okay so here's the vibe: CHECON_ROOK 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_ROOK.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
likeβ¦ she's out here approximating the inverse's norm so you don't have to, and that's on periodt π
π Parameters π
UPLO
UPLO is CHARACTER*1 β it 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 matrix A. N >= 0.
A
A is COMPLEX array, dimension (LDA,N) β the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CHETRF_ROOK.
LDA
LDA is INTEGER β the leading dimension of the array A. LDA >= max(1,N).
IPIV
IPIV is INTEGER array, dimension (N) β details of the interchanges and the block structure of D as determined by CHETRF_ROOK.
ANORM
ANORM is REAL β the 1-norm of the original matrix A.
RCOND
RCOND is REAL β the reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
WORK
WORK is COMPLEX 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.
π§ Contributors π§
- December 2016, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
Definition at line 137 of file checon_rook.f.
π subroutine csycon_rook π
subroutine csycon_rook (character uplo, integer n, complex, dimension( lda,
* ) a, integer lda, integer, dimension( * ) ipiv, real anorm, real
rcond, complex, dimension( * ) work, integer info)
CSYCON_ROOK
π Purpose π
CSYCON_ROOK 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_ROOK.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
note the **T bestie β this one's symmetric, not Hermitian, so it's transpose and not conjugate-transpose. the way that little H vs T changes everything π
π Parameters π
UPLO
UPLO is CHARACTER*1 β it 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 matrix A. N >= 0.
A
A is COMPLEX array, dimension (LDA,N) β the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by CSYTRF_ROOK.
LDA
LDA is INTEGER β the leading dimension of the array A. LDA >= max(1,N).
IPIV
IPIV is INTEGER array, dimension (N) β details of the interchanges and the block structure of D as determined by CSYTRF_ROOK.
ANORM
ANORM is REAL β the 1-norm of the original matrix A.
RCOND
RCOND is REAL β the reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
WORK
WORK is COMPLEX 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.
π§ Contributors π§
- April 2012, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
Definition at line 137 of file csycon_rook.f.
π¦ subroutine dsycon_rook π¦
subroutine dsycon_rook (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)
DSYCON_ROOK
π Purpose π
DSYCON_ROOK 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_ROOK.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
double precision version, and yes she brought her own IWORK along for the ride β extra baggage but make it useful π
π Parameters π
UPLO
UPLO is CHARACTER*1 β it 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 matrix A. N >= 0.
A
A is DOUBLE PRECISION array, dimension (LDA,N) β the block diagonal matrix D and the multipliers used to obtain the factor U or L as computed by DSYTRF_ROOK.
LDA
LDA is INTEGER β the leading dimension of the array A. LDA >= max(1,N).
IPIV
IPIV is INTEGER array, dimension (N) β details of the interchanges and the block structure of D as determined by DSYTRF_ROOK.
ANORM
ANORM is DOUBLE PRECISION β the 1-norm of the original matrix A.
RCOND
RCOND is DOUBLE PRECISION β the reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(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, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π§ Contributors π§
- April 2012, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
Definition at line 142 of file dsycon_rook.f.
π subroutine ssycon_rook π
subroutine ssycon_rook (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)
SSYCON_ROOK
π Purpose π
SSYCON_ROOK 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_ROOK.
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β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βINTEGER. The order of matrixA.N >= 0. β¨AβREALarray, dimension(LDA,N). Holds the block diagonal matrixDand the multipliers used to obtain the factorUorLas computed bySSYTRF_ROOK. π«ΆLDAβINTEGER. The leading dimension of arrayA.LDA >= max(1,N). πΈIPIVβINTEGERarray, dimension(N). Details of the interchanges and the block structure ofDas determined bySSYTRF_ROOK. πANORMβREAL. The 1-norm of the original matrixA. βRCONDβREAL. The reciprocal of the condition number of matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. π₯WORKβREALarray, dimension(2*N). πIWORKβINTEGERarray, dimension(N). π¦INFOβ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.
π«Ά Contributors
- December 2016, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
π Definition at line 142 of file ssycon_rook.f.
π¦ subroutine zhecon_rook
subroutine zhecon_rook (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)
ZHECON_ROOK estimates the reciprocal of the condition number for THE matrices using a factorization obtained with one of the bounded diagonal pivoting methods (max 2 interchanges). πβ¨
β¨ Purpose
ZHECON_ROOK 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_ROOK. π§
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β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βINTEGER. The order of matrixA.N >= 0. βAβCOMPLEX*16array, dimension(LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byCHETRF_ROOK. πLDAβINTEGER. The leading dimension of arrayA.LDA >= max(1,N). πΈIPIVβINTEGERarray, dimension(N). Details of the interchanges and the block structure ofDas determined byCHETRF_ROOK. πANORMβDOUBLE PRECISION. The 1-norm of the original matrixA. π₯RCONDβDOUBLE PRECISION. The reciprocal of the condition number of matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. πWORKβCOMPLEX*16array, dimension(2*N). π¦INFOβ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.
π«Ά Contributors
- June 2017, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
π Definition at line 137 of file zhecon_rook.f.
π¦ subroutine zsycon_rook
subroutine zsycon_rook (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)
ZSYCON_ROOK π«Ά
β¨ Purpose
ZSYCON_ROOK 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_ROOK. π
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β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βINTEGER. The order of matrixA.N >= 0. βAβCOMPLEX*16array, dimension(LDA,N). The block diagonal matrixDand the multipliers used to obtain the factorUorLas computed byZSYTRF_ROOK. πLDAβINTEGER. The leading dimension of arrayA.LDA >= max(1,N). πΈIPIVβINTEGERarray, dimension(N). Details of the interchanges and the block structure ofDas determined byZSYTRF_ROOK. πANORMβDOUBLE PRECISION. The 1-norm of the original matrixA. π₯RCONDβDOUBLE PRECISION. The reciprocal of the condition number of matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine. πWORKβCOMPLEX*16array, dimension(2*N). π¦INFOβ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.
π«Ά Contributors
- December 2016, Igor Kozachenko, Computer Science Division, University of California, Berkeley
- September 2007, Sven Hammarling, Nicholas J. Higham, Craig Lucas, School of Mathematics, University of Manchester
π Definition at line 137 of file zsycon_rook.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
Signing off from LAPACK Version 3.12.0, page hecon_rook(3) β the footer didnβt give us a date, so no date tea today, just source-code sparkle π§β¨π
π¦ 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