CGERFS(3)
π CGERFS(3) π
hiii bestie π welcome to the Library Functions Manual page for CGERFS(3) β yes, the manual name is folded in right here instead of that big header line, we're doing it cute.
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgerfs.f
That's the file path this page points at, no cap. β¨
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine CGERFS (trans, n, nrhs, a, lda, af, ldaf, ipiv, b, ldb, x,
ldx, ferr, berr, work, rwork, info)
CGERFS
π Function/Subroutine Documentation
subroutine CGERFS (character trans, 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)
CGERFS
π― Purpose π―
Okay so CGERFS has one main-character job: it improves the computed solution to a system of linear equations, and it provides error bounds and backward error estimates for that solution. That's the whole vibe. π
π Parameters π
TRANSβTRANSisCHARACTER*1. It specifies the form of the system of equations:= 'N':A * X = B(No transpose)= 'T':A**T * X = B(Transpose)= 'C':A**H * X = B(Conjugate transpose)
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βAisCOMPLEX array, dimension (LDA,N). The originalN-by-NmatrixA. πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N). πAFβAFisCOMPLEX array, dimension (LDAF,N). The factorsLandUfrom the factorizationA = P*L*Uas computed byCGETRF. π₯LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N). πIPIVβIPIVisINTEGER array, dimension (N). The pivot indices fromCGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i). πBβBisCOMPLEX array, dimension (LDB,NRHS). The right hand side matrixB. πLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). πXβXisCOMPLEX array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed byCGETRS. On exit, the improved solution matrixX. π¦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βWORKisCOMPLEX array, dimension (2*N). β¨RWORKβRWORKisREAL array, dimension (N). βINFOβINFOisINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π§ Internal Parameters π§
ITMAXβ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 184 of file cgerfs.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. Not me, bestie β Doxygen did this one. π
okay that's the whole page π β source/version tea: LAPACK Version 3.12.0, and the footer path is /home/abui...RC/cgerfs.f(3). Byeee π«Ά
π¦ 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