ZPPT02(3)
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zppt02.f β okay so this is the Library Functions Manual page for the ZPPT02 subroutine, bestie. Itβs a LAPACK source-file page, and weβre about to get into residual math. Slay. β¨
πΈ SYNOPSIS
π«Ά Functions/Subroutines
subroutine ZPPT02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
ZPPT02
π Function/Subroutine Documentation
subroutine ZPPT02 (character uplo, integer n, integer nrhs, complex*16,
dimension( * ) a, complex*16, dimension( ldx, * ) x, integer ldx,
complex*16, dimension( ldb, * ) b, integer ldb, double precision,
dimension( * ) rwork, double precision resid)
ZPPT02
π― Purpose
ZPPT02 computes the residual in the solution of a Hermitian system of linear equations A*x = b when packed storage is used for the coefficient matrix. The ratio computed is:
RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS),
where EPS is the machine precision. Literally the whole vibe of this subroutine, no cap. π
β¨ 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 and columns of the matrixA.N >= 0.NRHSβINTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβCOMPLEX*16array, dimension(N*(N+1)/2). The original Hermitian matrixA, stored as a packed triangular matrix.XβCOMPLEX*16array, dimension(LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβCOMPLEX*16array, dimension(LDB,NRHS). On entry, the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - A*X.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβDOUBLE PRECISIONarray, dimension(N).RESIDβDOUBLE PRECISION. The maximum over the number of right hand sides ofnorm(B - A*X) / ( norm(A) * norm(X) * EPS ).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 121 of file zppt02.f.
π€ Author
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie! Footer source/version check: LAPACK, Version 3.12.0, source /home/abui...IN/zppt02.f(3). Bye icon! π
π¦
π¦ 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