TESTING/LIN/dppt02.f(3)
π¦ TESTING/LIN/dppt02.f(3) π¦
okay so this is the TESTING/LIN/dppt02.f(3) page from the Library Functions Manual, and it's literally all about DPPT02, bestie. buckle up, it's giving numerical linear algebra but make it cute π
β¨ NAME β¨
TESTING/LIN/dppt02.f β that's the name, no cap π
πΈ SYNOPSIS πΈ
Functions/Subroutines
Functions/Subroutines
subroutine dppt02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
DPPT02
π§ Function/Subroutine Documentation π§
here's the whole subroutine signature, untouched and iconic:
subroutine dppt02 (character uplo, integer n, integer nrhs, double
precision, dimension( * ) a, double precision, dimension( ldx, * ) x,
integer ldx, double precision, dimension( ldb, * ) b, integer ldb,
double precision, dimension( * ) rwork, double precision resid)
DPPT02
DPPT02 is the main character here π
π Purpose π
okay so DPPT02 computes the residual in the solution of a symmetric 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. periodt β¨
π Parameters π
UPLOβCHARACTER*1. specifies whether the upper or lower triangular part of the symmetric 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βDOUBLE PRECISION array, dimension (N*(N+1)/2). the original symmetric matrixA, stored as a packed triangular matrix.XβDOUBLE PRECISION 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βDOUBLE PRECISION 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. important bestie, it gets changed π«ΆLDBβINTEGER. the leading dimension of the arrayB.LDB >= max(1,N).RWORKβDOUBLE PRECISION array, 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 120 of file dppt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
mwah π that's the whole page, from TESTING/LIN/dppt02.f(3), LAPACK Version 3.12.0. slay, you made it to the end, bestie π«Άπ
π¦ 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