CHERFS(3)
π NAME π
Bestie, welcome to CHERFS(3) from the Library Functions Manual β it's giving main-character LAPACK energy β¨. The source file is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cherfs.f.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CHERFS (uplo, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
CHERFS
π FUNCTION/SUBROUTINE DOCUMENTATION π
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 π
Okay so here's the tea, bestie: CHERFS 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. That's the whole glow-up. π β¨
πΈ Parameters πΈ
UPLOβUPLOisCHARACTER*1;= 'U': Upper triangle ofAis stored;= 'L': Lower triangle ofAis stored.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βAisCOMPLEXarray, dimension(LDA,N). The Hermitian 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βAFisCOMPLEXarray, 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**HorA = L*D*L**Has computed byCHETRF.LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).IPIVβIPIVisINTEGERarray, dimension(N). Details of the interchanges and the block structure ofDas determined byCHETRF.BβBisCOMPLEXarray, dimension(LDB,NRHS). The right hand side matrixB.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβXisCOMPLEXarray, dimension(LDX,NRHS). On entry, the solution matrixX, as computed byCHETRS. On exit, the improved solution matrixX.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).FERRβFERRisREALarray, 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βBERRisREALarray, 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βWORKisCOMPLEXarray, dimension(2*N).RWORKβRWORKisREALarray, dimension(N).INFOβINFOisINTEGER;= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value.
π§ Internal Parameters π§
ITMAX is the maximum number of steps of iterative refinement. That's the internal lore, bestie π«Ά.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 190 of file cherfs.f. π
ποΈ Author (Doxygen's version) ποΈ
Generated automatically by Doxygen for LAPACK from the source code. No cap, the robots wrote this bit π€π.
Okay bestie, that's the whole page. Signing off with LAPACK Version 3.12.0 and the footer source /home/abui...RC/cherfs.f(3) β the footer didn't give us a date, so that's the vibe. Periodt π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms