CPPT02(3)
π NAME π
Okay so this page is for the file /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cppt02.f β yes, the whole entire path, bestie, no trimming. It's the cppt02.f(3) page from the Library Functions Manual, and it's giving very specific LAPACK testing energy. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
Here's the vibe check, literally:
subroutine CPPT02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
CPPT02
π«Ά Function/Subroutine Documentation π«Ά
The full signature is exactly this, no cap:
subroutine CPPT02 (character uplo, integer n, integer nrhs, complex,
dimension( * ) a, complex, dimension( ldx, * ) x, integer ldx, complex,
dimension( ldb, * ) b, integer ldb, real, dimension( * ) rwork, real
resid)
And the subroutine is simply CPPT02. Iconic.
π Purpose π
CPPT02 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 literally:
RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS),
where EPS is the machine precision. Math girlie moment. β¨
πΈ Parameters πΈ
UPLOβ isCHARACTER*1and tells you which triangular part of the Hermitian matrixAis stored, fr:= 'U': Upper triangular= 'L': Lower triangular
Nβ isINTEGER, the number of rows and columns of the matrixA.N >= 0.NRHSβ isINTEGER, the number of columns ofB, the matrix of right hand sides.NRHS >= 0.Aβ isCOMPLEX array, dimension (N*(N+1)/2). It's the original Hermitian matrixA, stored as a packed triangular matrix.Xβ isCOMPLEX array, dimension (LDX,NRHS). These are the computed solution vectors for the system of linear equations.LDXβ isINTEGER, the leading dimension of the arrayX.LDX >= max(1,N).Bβ isCOMPLEX array, dimension (LDB,NRHS). On entry, it's the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - A*X.LDBβ isINTEGER, the leading dimension of the arrayB.LDB >= max(1,N).RWORKβ isREAL array, dimension (N).RESIDβ isREAL. It's 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 cppt02.f. π«Ά
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie β LAPACK Version 3.12.0, cppt02.f(3). You ate. ππ
π¦ 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