ZPPT05(3)
π NAME
okay so this is ZPPT05(3), the Library Functions Manual entry for ZPPT05, and the NAME section is literally just this path β no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zppt05.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ZPPT05 (uplo, n, nrhs, ap, b, ldb, x, ldx, xact, ldxact,
ferr, berr, reslts)
ZPPT05
π¦ Function/Subroutine Documentation
ZPPT05
subroutine ZPPT05 (character uplo, integer n, integer nrhs, complex*16,
dimension( * ) ap, complex*16, dimension( ldb, * ) b, integer ldb,
complex*16, dimension( ldx, * ) x, integer ldx, complex*16, dimension(
ldxact, * ) xact, integer ldxact, double precision, dimension( * ) ferr,
double precision, dimension( * ) berr, double precision, dimension( * )
reslts)
ZPPT05
π Purpose
bestie, ZPPT05 tests the error bounds from iterative refinement for the computed solution to a system of equations A*X = B, where A is a Hermitian matrix in packed storage format. π
RESLTS(1) is the test of the error bound:
RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR )
heads up: a large value is returned if this ratio is not less than one. π
RESLTS(2) is the residual from the iterative refinement routine:
RESLTS(2) = residual from the iterative refinement routine
= the maximum of BERR / ( (n+1)*EPS + (*) ), where
(*) = (n+1)*UNFL / (min_i (abs(A)*abs(X) +abs(b))_i )
πΈ Parameters
UPLOβCHARACTER*1; specifies whether the upper or lower triangular part of the Hermitian matrixAis stored.'U'= Upper triangular,'L'= Lower triangular. πNβINTEGER; the number of rows of the matricesX,B, andXACT, and the order of the matrixA.N >= 0. β¨NRHSβINTEGER; the number of columns of the matricesX,B, andXACT.NRHS >= 0. π«ΆAPβCOMPLEX*16array, dimension(N*(N+1)/2); the upper or lower triangle of the Hermitian matrixA, packed columnwise in a linear array. The j-th column ofAis stored in the arrayAPas follows:
if UPLO = 'U', AP(i + (j-1)*j/2) = A(i,j) for 1<=i<=j;
if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = A(i,j) for j<=i<=n.
BβCOMPLEX*16array, dimension(LDB,NRHS); the right hand side vectors for the system of linear equations. πLDBβINTEGER; the leading dimension of the arrayB.LDB >= max(1,N). βXβCOMPLEX*16array, dimension(LDX,NRHS); the computed solution vectors. Each vector is stored as a column of the matrixX. π¦LDXβINTEGER; the leading dimension of the arrayX.LDX >= max(1,N). πXACTβCOMPLEX*16array, dimension(LDX,NRHS); the exact solution vectors. Each vector is stored as a column of the matrixXACT. πLDXACTβINTEGER; the leading dimension of the arrayXACT.LDXACT >= max(1,N). πFERRβDOUBLE PRECISIONarray, dimension(NRHS); the estimated forward error bounds for each solution vectorX. IfXTRUEis the true solution,FERRbounds the magnitude of the largest entry in(X - XTRUE)divided by the magnitude of the largest entry inX. π₯BERRβDOUBLE PRECISIONarray, dimension(NRHS); the componentwise relative backward error of each solution vector (i.e., the smallest relative change in any entry ofAorBthat makesXan exact solution). πRESLTSβDOUBLE PRECISIONarray, dimension(2); the maximum over theNRHSsolution vectors of the ratios:
RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR )
RESLTS(2) = BERR / ( (n+1)*EPS + (*) )
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 155 of file zppt05.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bye bestie! π footer check: LAPACK Version 3.12.0, path /home/abui...IN/zppt05.f(3), and the date isnβt listed β but the vibe is timeless. πβ¨
π¦ 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