SRC/cporfs.f(3)
πΈ NAME πΈ
SRC/cporfs.f β that's the name, bestie, no secret subtitle needed. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine cporfs (uplo, n, nrhs, a, lda, af, ldaf, b, ldb, x, ldx,
ferr, berr, work, rwork, info)
CPORFS
π Function/Subroutine Documentation π
okay so here's the full signature, and yes it's a whole lot of arguments, but we're gonna get through it together:
subroutine cporfs (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, complex, dimension( ldaf, * ) af,
integer ldaf, 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)
CPORFS
π§ Purpose π§
CPORFS improves the computed solution to a system of linear equations when the coefficient matrix is Hermitian positive definite, and provides error bounds and backward error estimates for the solution. literally doing the most helpful math bestie behavior. π«Ά
π¦ Parameters π¦
UPLOβUPLOisCHARACTER*1.= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is 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 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.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).AFβAFisCOMPLEXarray, dimension(LDAF,N). The triangular factorUorLfrom the Cholesky factorizationA = U**H*UorA = L*L**H, as computed byCPOTRF.LDAFβLDAFisINTEGER. The leading dimension of the arrayAF.LDAF >= max(1,N).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 byCPOTRS. 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)(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.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, the i-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 π¦
Definition at line 181 of file cporfs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
bye bestie π this page is LAPACK Version 3.12.0, filed as SRC/cporfs.f(3), and the footer says it was generated automatically by Doxygen for LAPACK from the source code. periodt. πβ¨
π¦ 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