ZPTT05(3)
okay so this is ZPTT05(3), straight out of the LAPACK Library Functions Manual ๐
and yes bestie, we're getting into the tridiagonal test-routine tea.
๐ NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zptt05.f
๐ธ SYNOPSIS
๐ง Functions/Subroutines
subroutine ZPTT05 (n, nrhs, d, e, b, ldb, x, ldx, xact, ldxact, ferr, berr, reslts)โZPTT05
๐ฆ Function/Subroutine Documentation
subroutine ZPTT05 (integer n, integer nrhs, double precision, dimension( * ) d, complex*16, dimension( * ) e, 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)
and the routine's name is, yep, ZPTT05 ๐ซ
โจ Purpose
ZPTT05 tests the error bounds from iterative refinement for the computed solution to a system of equations A*X = B, where A is a Hermitian tridiagonal matrix of order n. ๐ซถ
RESLTS(1) = test of the error bound
= norm(X - XACT) / ( norm(X) * FERR )
A large value is returned if this ratio is not less than one.
RESLTS(2) = residual from the iterative refinement routine
= the maximum of BERR / ( NZ*EPS + (*) ), where
(*) = NZ*UNFL / (min_i (abs(A)*abs(X) +abs(b))_i )
and NZ = max. number of nonzeros in any row of A, plus 1
so that's the exact math vibe, no cap ๐งฎโจ
๐ Parameters
NโN is INTEGER. It's the number of rows of the matricesX,B, andXACT, and the order of the matrixA.N >= 0. ๐NRHSโNRHS is INTEGER. It's the number of columns of the matricesX,B, andXACT.NRHS >= 0. ๐DโD is DOUBLE PRECISION array, dimension (N). These are the n diagonal elements of the tridiagonal matrixA. โญEโE is COMPLEX*16 array, dimension (N-1). These are the (n-1) subdiagonal elements of the tridiagonal matrixA. ๐ฆBโB is COMPLEX*16 array, dimension (LDB,NRHS). These are the right hand side vectors for the system of linear equations. ๐LDBโLDB is INTEGER. It's the leading dimension of the arrayB.LDB >= max(1,N). ๐ฅXโX is COMPLEX*16 array, dimension (LDX,NRHS). These are the computed solution vectors. Each vector is stored as a column of the matrixX. ๐LDXโLDX is INTEGER. It's the leading dimension of the arrayX.LDX >= max(1,N). ๐XACTโXACT is COMPLEX*16 array, dimension (LDX,NRHS). These are the exact solution vectors. Each vector is stored as a column of the matrixXACT. ๐LDXACTโLDXACT is INTEGER. It's the leading dimension of the arrayXACT.LDXACT >= max(1,N). ๐FERRโFERR is DOUBLE PRECISION array, dimension (NRHS). These are 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โBERR is DOUBLE PRECISION array, dimension (NRHS). This is the componentwise relative backward error of each solution vector (i.e., the smallest relative change in any entry ofAorBthat makesXan exact solution). ๐ซถRESLTSโRESLTS is DOUBLE PRECISION array, dimension (2). This is the maximum over theNRHSsolution vectors of the ratios:
RESLTS(1) = norm(X - XACT) / ( norm(X) * FERR )
RESLTS(2) = BERR / ( NZ*EPS + (*) )
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 148 of file zptt05.f. ๐
๐ Author
Generated automatically by Doxygen for LAPACK from the source code. ๐ค๐
and that's the whole zptt05(3) moment, bestie ๐ the footer says LAPACK Version 3.12.0 and /home/abui...IN/zptt05.f(3) โ no extra date line on this footer, just version-and-source energy ๐ซถ๐
๐ฆ 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