SRC/dpprfs.f(3)
π NAME π
This is SRC/dpprfs.f(3) from the Library Functions Manual β yes bestie, the SRC/dpprfs.f page. Periodt. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines
subroutine dpprfs (uplo, n, nrhs, ap, afp, b, ldb, x, ldx, ferr, berr,
work, iwork, info)
DPPRFS
πΈ Function/Subroutine Documentation πΈ
subroutine dpprfs (character uplo, integer n, integer nrhs, double
precision, dimension( * ) ap, double precision, dimension( * ) afp,
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)
DPPRFS
π Purpose
Okay so DPPRFS improves the computed solution to a system of linear equations when the coefficient matrix is symmetric positive definite and packed, and it provides error bounds and backward error estimates for the solution. Iconic behavior, honestly. π
π Parameters π
UPLOβUPLO is CHARACTER*1;= 'U': Upper triangle of A is stored;= 'L': Lower triangle of A is stored.NβN is INTEGER; the order of the matrix A.N >= 0.NRHSβNRHS is INTEGER; the number of right hand sides, i.e., the number of columns of the matrices B and X.NRHS >= 0.APβAP is DOUBLE PRECISION array, dimension (N*(N+1)/2); the upper or lower triangle of the symmetric matrix A, packed columnwise in a linear array. The j-th column of A is stored in the array AP as follows: ifUPLO = 'U',AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j; ifUPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.AFPβAFP is DOUBLE PRECISION array, dimension (N*(N+1)/2); the triangular factor U or L from the Cholesky factorizationA = U**T*UorA = L*L**T, as computed byDPPTRF/ZPPTRF, packed columnwise in a linear array in the same format as A (see AP).BβB is DOUBLE PRECISION array, dimension (LDB,NRHS); the right hand side matrix B.LDBβLDB is INTEGER; the leading dimension of the array B.LDB >= max(1,N).XβX is DOUBLE PRECISION array, dimension (LDX,NRHS); on entry, the solution matrix X, as computed byDPPTRS. On exit, the improved solution matrix X.LDXβLDX is INTEGER; the leading dimension of the array X.LDX >= max(1,N).FERRβFERR is DOUBLE PRECISION array, dimension (NRHS); the estimated forward error bound for each solution vectorX(j)(the j-th column of the solution matrix X). 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βBERR is DOUBLE PRECISION array, dimension (NRHS); the componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element of A or B that makesX(j)an exact solution).WORKβWORK is DOUBLE PRECISION array, dimension (3*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.
π§ Internal Parameters π§
ITMAX is the maximum number of steps of iterative refinement. Slay, iterative refinement. β¨
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file dpprfs.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
And thatβs the whole page, bestie: LAPACK, Version 3.12.0, chilling at SRC/dpprfs.f(3). Byeee πππ¦
π¦ 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