herfs(3)
π
herfs β {he,sy}rfs: iterative refinement
okay so bestie, welcome to herfs(3) β the Library Functions Manual entry for the Hermitian/symmetric iterative refinement girlies β¨. This is the family of routines that take your kinda-close solution and make it actually close, plus hand you receipts (error bounds) proving it. Iconic behaviour, honestly.
This page is long so it's split into a few parts β this is part one, so don't go anywhere, we're just getting started π«Ά
β¨ SYNOPSIS β¨
πΈ Functions
subroutine cherfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
CHERFS
subroutine csyrfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
CSYRFS
subroutine dsyrfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, iwork, info)
DSYRFS
subroutine ssyrfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, iwork, info)
SSYRFS
subroutine zherfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
ZHERFS
subroutine zsyrfs (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
ZSYRFS
π₯ Detailed Description
π Function Documentation
π§ cherfs β CHERFS
subroutine cherfs (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, complex, dimension( ldaf, * ) af,
integer ldaf, integer, dimension( * ) ipiv, complex, dimension( ldb, * )
b, integer ldb, complex, dimension( ldx, * ) x, integer ldx, real,
dimension( * ) ferr, real, dimension( * ) berr, complex, dimension( * )
work, real, dimension( * ) rwork, integer info)
CHERFS π
π Purpose
okok so here's the vibe: CHERFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian indefinite, and it also provides error bounds and backward error estimates for the solution. literally the glow-up routine for your answer vector, plus the receipts β¨
πΈ Parameters
UPLOβUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβN is INTEGER- The order of the matrix
A.N >= 0.
- The order of the matrix
NRHSβNRHS is INTEGER- The number of right hand sides, i.e., the number of columns of the matrices
BandX.NRHS >= 0.
- The number of right hand sides, i.e., the number of columns of the matrices
AβA is COMPLEX array, dimension (LDA,N)- The Hermitian matrix
A. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.
- The Hermitian matrix
LDAβLDA is INTEGER- The leading dimension of the array
A.LDA >= max(1,N).
- The leading dimension of the array
AFβAF is COMPLEX array, dimension (LDAF,N)- The factored form of the matrix
A.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**HorA = L*D*L**Has computed byCHETRF.
- The factored form of the matrix
LDAFβLDAF is INTEGER- The leading dimension of the array
AF.LDAF >= max(1,N).
- The leading dimension of the array
IPIVβIPIV is INTEGER array, dimension (N)- Details of the interchanges and the block structure of
Das determined byCHETRF.
- Details of the interchanges and the block structure of
BβB is COMPLEX array, dimension (LDB,NRHS)- The right hand side matrix
B.
- The right hand side matrix
LDBβLDB is INTEGER- The leading dimension of the array
B.LDB >= max(1,N).
- The leading dimension of the array
XβX is COMPLEX array, dimension (LDX,NRHS)- On entry, the solution matrix
X, as computed byCHETRS. On exit, the improved solution matrixX. π glow-up complete.
- On entry, the solution matrix
LDXβLDX is INTEGER- The leading dimension of the array
X.LDX >= max(1,N).
- The leading dimension of the array
FERRβFERR is REAL array, dimension (NRHS)- The estimated forward error bound for each solution vector
X(j)(the j-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error.
- The estimated forward error bound for each solution vector
BERRβBERR is REAL array, dimension (NRHS)- The componentwise relative backward error of each solution vector
X(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).
- The componentwise relative backward error of each solution vector
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
β Internal Parameters
ITMAXis the maximum number of steps of iterative refinement.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 190 of file cherfs.f.
π¦ csyrfs β CSYRFS
subroutine csyrfs (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, complex, dimension( ldaf, * ) af,
integer ldaf, integer, dimension( * ) ipiv, complex, dimension( ldb, * )
b, integer ldb, complex, dimension( ldx, * ) x, integer ldx, real,
dimension( * ) ferr, real, dimension( * ) berr, complex, dimension( * )
work, real, dimension( * ) rwork, integer info)
CSYRFS π
π Purpose
same energy, slightly different girl: CSYRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and provides error bounds and backward error estimates for the solution. β¨
πΈ Parameters
UPLOβUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.
NβN is INTEGER- The order of the matrix
A.N >= 0.
- The order of the matrix
NRHSβNRHS is INTEGER- The number of right hand sides, i.e., the number of columns of the matrices
BandX.NRHS >= 0.
- The number of right hand sides, i.e., the number of columns of the matrices
AβA is COMPLEX array, dimension (LDA,N)- The symmetric matrix
A. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.
- The symmetric matrix
LDAβLDA is INTEGER- The leading dimension of the array
A.LDA >= max(1,N).
- The leading dimension of the array
AFβAF is COMPLEX array, dimension (LDAF,N)- The factored form of the matrix
A.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed byCSYTRF.
- The factored form of the matrix
LDAFβLDAF is INTEGER- The leading dimension of the array
AF.LDAF >= max(1,N).
- The leading dimension of the array
IPIVβIPIV is INTEGER array, dimension (N)- Details of the interchanges and the block structure of
Das determined byCSYTRF.
- Details of the interchanges and the block structure of
BβB is COMPLEX array, dimension (LDB,NRHS)- The right hand side matrix
B.
- The right hand side matrix
LDBβLDB is INTEGER- The leading dimension of the array
B.LDB >= max(1,N).
- The leading dimension of the array
XβX is COMPLEX array, dimension (LDX,NRHS)- On entry, the solution matrix
X, as computed byCSYTRS. On exit, the improved solution matrixX. π
- On entry, the solution matrix
LDXβLDX is INTEGER- The leading dimension of the array
X.LDX >= max(1,N).
- The leading dimension of the array
FERRβFERR is REAL array, dimension (NRHS)- The estimated forward error bound for each solution vector
X(j)(the j-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error.
- The estimated forward error bound for each solution vector
BERRβBERR is REAL array, dimension (NRHS)- The componentwise relative backward error of each solution vector
X(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).
- The componentwise relative backward error of each solution vector
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
β Internal Parameters
ITMAXis the maximum number of steps of iterative refinement.
π Author
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 190 of file csyrfs.f.
π DSYRFS β the double-precision, symmetric-indefinite glow-up
subroutine dsyrfs (character uplo, integer n, integer nrhs, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldaf, * ) af, integer ldaf, integer, dimension( * ) ipiv,
double precision, dimension( ldb, * ) b, integer ldb, double precision,
dimension( ldx, * ) x, integer ldx, double precision, dimension( * )
ferr, double precision, dimension( * ) berr, double precision,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
β¨ Purpose
Okay so DSYRFS is the bestie who improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and she also provides error bounds and backward error estimates for the solution. No cap, sheβs giving accuracy-check main character energy. π
π§© Parameters
UPLOβUPLOisCHARACTER*1.'U'means the upper triangle ofAis stored;'L'means the lower triangle ofAis stored. Slay, pick a triangle. πNβNisINTEGER. The order of the matrixA.N >= 0. Itβs giving βsize matters, but keep it legal.β β¨NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0. πAβAisDOUBLE PRECISION array, dimension (LDA,N). This is the symmetric matrixA, bestie. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πAFβAFisDOUBLE PRECISION array, dimension (LDAF,N). The factored form of the matrixA.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed byDSYTRF. π§LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N). πΈIPIVβIPIVisINTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined byDSYTRF. The way that pivot lore is stored here. π₯BβBisDOUBLE PRECISION array, dimension (LDB,NRHS). The right hand side matrixB. π«ΆLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). πXβXisDOUBLE PRECISION array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed byDSYTRS. On exit, the improved solution matrixX. Not me loving an in-place glow-up. πLDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N). πFERRβFERRisDOUBLE PRECISION array, dimension (NRHS). The estimated forward error bound for each solution vectorX(j)(thej-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error. Obsessed with an honest overestimate. π₯BERRβBERRisDOUBLE PRECISION array, dimension (NRHS). The componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution). Literally the βhow close did we get?β report. πWORKβWORKisDOUBLE PRECISION array, dimension (3*N). Thatβs the3*Nslot situation, ngl. βIWORKβIWORKisINTEGER array, dimension (N). Integer workspace, periodt. πINFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value. π
π§ Internal Parameters
ITMAXis the maximum number of steps of iterative refinement. Thatβs the glow-up budget, fr fr. β¨
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
The author list ate, iykyk. π«Ά
π Definition
Definition at line 189 of file dsyrfs.f. Iconic. π
π¦ SSYRFS β the real-valued, symmetric-indefinite sibling
subroutine ssyrfs (character uplo, integer n, integer nrhs, real, dimension(
lda, * ) a, integer lda, real, dimension( ldaf, * ) af, integer ldaf,
integer, dimension( * ) ipiv, real, dimension( ldb, * ) b, integer ldb,
real, dimension( ldx, * ) x, integer ldx, real, dimension( * ) ferr,
real, dimension( * ) berr, real, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
β¨ Purpose
Okay so SSYRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and provides error bounds and backward error estimates for the solution. Same energy as her double-precision sister, just in REAL. No cap. π
π§© Parameters
UPLOβUPLOisCHARACTER*1.'U'means the upper triangle ofAis stored;'L'means the lower triangle ofAis stored. Pick your triangle, bestie. πNβNisINTEGER. The order of the matrixA.N >= 0. β¨NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0. πAβAisREAL array, dimension (LDA,N). The symmetric matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πAFβAFisREAL array, dimension (LDAF,N). The factored form of the matrixA.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed bySSYTRF. π§LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N). πΈIPIVβIPIVisINTEGER array, dimension (N). Details of the interchanges and the block structure ofDas determined bySSYTRF. Pivot details, but make it cute. π₯BβBisREAL array, dimension (LDB,NRHS). The right hand side matrixB. π«ΆLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). πXβXisREAL array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed bySSYTRS. On exit, the improved solution matrixX. The before-and-after is real. πLDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N). πFERRβFERRisREAL array, dimension (NRHS). The estimated forward error bound for each solution vectorX(j)(thej-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error. π₯BERRβBERRisREAL array, dimension (NRHS). The componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution). πWORKβWORKisREAL array, dimension (3*N). Workspace with3*Nslots. βIWORKβIWORKisINTEGER array, dimension (N). Integer workspace, periodt. πINFOβINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value. π
π§ Internal Parameters
ITMAXis the maximum number of steps of iterative refinement. The refinement budget is set, bestie. β¨
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Same iconic author lineup. π«Ά
π Definition
Definition at line 189 of file ssyrfs.f. Slay. π
π ZHERFS β the complex*16, Hermitian-indefinite boss
subroutine zherfs (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldaf, * ) af,
integer ldaf, integer, dimension( * ) ipiv, complex*16, dimension( ldb,
* ) b, integer ldb, complex*16, dimension( ldx, * ) x, integer ldx,
double precision, dimension( * ) ferr, double precision, dimension( * )
berr, complex*16, dimension( * ) work, double precision, dimension( * )
rwork, integer info)
β¨ Purpose
Okay so ZHERFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian indefinite, and provides error bounds and backward error estimates for the solution. Complex arithmetic but make it main character energy. π
π§© Parameters
UPLOβUPLOisCHARACTER*1.'U'means the upper triangle ofAis stored;'L'means the lower triangle ofAis stored. Pick a triangle, bestie. πNβNisINTEGER. The order of the matrixA.N >= 0. β¨NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesBandX.NRHS >= 0. π
A
Aβ it's aCOMPLEX*16 array, dimension (LDA,N)and it's the Hermitian matrix A herself, the main character π IfUPLO = 'U', the leading N-by-N upper triangular part ofAholds the upper triangle of the matrix, and the strictly lower triangular part ofAis not referenced (we literally don't look at it, she's off duty π). IfUPLO = 'L', it's the flip: the leading N-by-N lower triangular part ofAholds the lower triangle, and the strictly upper triangular part ofAis not referenced. Only one half is invited to the party, bestie πLDAβLDA is INTEGER, and it's the leading dimension of the arrayA. Requirement, no cap:LDA >= max(1,N). Respect the leading dimension or perish πAFβCOMPLEX*16 array, dimension (LDAF,N). This is the factored form of the matrixA, iconic.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**HorA = L*D*L**Has computed byZHETRF. Slay, that's the whole vibe π₯LDAFβLDAF is INTEGER, the leading dimension of the arrayAF. AndLDAF >= max(1,N). Same energy, same rules β¨IPIVβINTEGER array, dimension (N). All the details of the interchanges and the block structure ofD, exactly as determined byZHETRF. It's giving receipts π§ΎBβCOMPLEX*16 array, dimension (LDB,NRHS). The right hand side matrixB. That's her π«ΆLDBβLDB is INTEGER, leading dimension of the arrayB. You already know:LDB >= max(1,N)πXβCOMPLEX*16 array, dimension (LDX,NRHS). On entry, it's the solution matrixX, as computed byZHETRS. On exit, it's the improved solution matrixX. Glow-up arc, literally πΈLDXβLDX is INTEGER, leading dimension of the arrayX.LDX >= max(1,N). Periodt πFERRβDOUBLE PRECISION array, dimension (NRHS). The estimated forward error bound for each solution vectorX(j)(that's the j-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j), thenFERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and it's almost always a slight overestimate of the true error β she errs on the side of caution, we stan a careful queen πBERRβDOUBLE PRECISION array, dimension (NRHS). The componentwise relative backward error of each solution vectorX(j), i.e. the smallest relative change in any element ofAorBthat makesX(j)an exact solution. Smallest possible change, maximum drama πWORKβCOMPLEX*16 array, dimension (2*N). That's it, that's the note πRWORKβDOUBLE PRECISION array, dimension (N). Also just vibing π¦INFOβINFO is INTEGERand it's the final boss report:= 0: successful exit, we ate and left no crumbs β< 0: ifINFO = -i, the i-th argument had an illegal value π¨
π Internal Parameters π
ITMAXis the maximum number of steps of iterative refinement. She's persistent, not infinite π
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 190 of file zherfs.f.
π subroutine zsyrfs π
subroutine zsyrfs (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, complex*16, dimension( ldaf, * ) af,
integer ldaf, integer, dimension( * ) ipiv, complex*16, dimension( ldb,
* ) b, integer ldb, complex*16, dimension( ldx, * ) x, integer ldx,
double precision, dimension( * ) ferr, double precision, dimension( * )
berr, complex*16, dimension( * ) work, double precision, dimension( * )
rwork, integer info)
ZSYRFS
β¨ Purpose β¨
ZSYRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric indefinite, and provides error bounds and backward error estimates for the solution. So the matrix is symmetric but indefinite β she contains multitudes, we don't judge π
π Parameters π
UPLOβUPLO is CHARACTER*1and it picks a side:= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored.
NβN is INTEGER, the order of the matrixA. Constraint:N >= 0. Zero is a valid order, no gatekeeping πΈNRHSβNRHS is INTEGER, the number of right hand sides, i.e. the number of columns of the matricesBandX. Constraint:NRHS >= 0π¦AβCOMPLEX*16 array, dimension (LDA,N). The symmetric matrixA. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. Half the matrix is literally not invited, and that's fine πLDAβLDA is INTEGER, leading dimension of the arrayA. Requirement:LDA >= max(1,N)πAFβCOMPLEX*16 array, dimension (LDAF,N). The factored form of the matrixA.AFcontains the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed byZSYTRF. Note the**There, not**Hβ this is the symmetric one, so mind the difference bestie π§LDAFβLDAF is INTEGER, leading dimension of the arrayAF. Requirement:LDAF >= max(1,N)β¨IPIVβINTEGER array, dimension (N). Details of the interchanges and the block structure ofD, as determined byZSYTRFπBβCOMPLEX*16 array, dimension (LDB,NRHS). The right hand side matrixBπLDBβLDB is INTEGER, leading dimension of the arrayB. Requirement:LDB >= max(1,N)πXβCOMPLEX*16 array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed byZSYTRS. On exit, the improved solution matrixX. She came in fine and left iconic πLDXβLDX is INTEGER, leading dimension of the arrayX. Requirement:LDX >= max(1,N)πFERRβDOUBLE PRECISION array, dimension (NRHS). The estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error. Accurate-ish and honest about it, a whole personality πBERRβDOUBLE PRECISION array, dimension (NRHS). The componentwise relative backward error of each solution vectorX(j), i.e. the smallest relative change in any element ofAorBthat makesX(j)an exact solution πWORKβCOMPLEX*16 array, dimension (2*N)πRWORKβDOUBLE PRECISION array, dimension (N)πINFOβINFO is INTEGER, the moment of truth:= 0: successful exit, we love to see it π< 0: ifINFO = -i, the i-th argument had an illegal value π¨
π Internal Parameters π
ITMAXis the maximum number of steps of iterative refinement. Same queen, same patience β
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 190 of file zsyrfs.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page bestie, you made it to the end, so proud π₯Ή This was brought to you by LAPACK, Version 3.12.0, and the file is literally called herfs(3) β go forth and refine iteratively, iykyk πβ¨π
π¦ 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