TESTING/LIN/cppt02.f(3)
π NAME π
okay so this page is TESTING/LIN/cppt02.f(3), live from the Library Functions Manual, and it's all about the CPPT02 subroutine situation. bestie, we're in the linear algebra testing zone and it's giving very specific packed-storage energy. β¨
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine cppt02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
CPPT02
π¦ Function/Subroutine Documentation π¦
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)
CPPT02
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 it computes is:
RESID = norm(B - A*X) / ( norm(A) * norm(X) * EPS),
where EPS is the machine precision. periodt. π
Parameters
UPLOβCHARACTER*1. specifies whether the upper or lower triangular part of the Hermitian matrixAis stored:= 'U': Upper triangular,= 'L': Lower triangular. simple as that, bestie. π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 array, dimension (N*(N+1)/2). the original Hermitian matrixA, stored as a packed triangular matrix. packed and iconic. π¦XβCOMPLEX array, 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 array, 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. so yeah, it gets replaced, no cap. πLDBβINTEGER. the leading dimension of the arrayB.LDB >= max(1,N).RWORKβREAL array, dimension (N).RESIDβREAL. the maximum over the number of right hand sides ofnorm(B - A*X) / ( norm(A) * norm(X) * EPS ). this is the main-character output, lowkey. π
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. the robots really said "we got this" and honestly? slay. π€β¨
that's the whole page, bestie! this one is from LAPACK Version 3.12.0 and it's the TESTING/LIN/cppt02.f(3) page. stay hydrated, keep your residual low, and remember: packed storage is still storage. πππ¦
π¦ 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