DPPT02(3)
okay so bestie, this is the dppt02.f(3) page from the Library Functions Manual π β and itβs all about computing a residual, no cap. The header path energy is /home/abui...IN/dppt02.f(3), and weβre gonna get into it.
πΈ NAME πΈ
The NAME line is literally this source file path, bestie:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dppt02.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DPPT02 (uplo, n, nrhs, a, x, ldx, b, ldb, rwork, resid)
DPPT02
π Function/Subroutine Documentation π
The signature is giving βI know my typesβ energy:
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
And yes, the routine name is DPPT02. Periodt. π
π Purpose π
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. π«Ά
π§ Parameters π§
UPLOβ isCHARACTER*1. It specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular,= 'L': Lower triangular. iconic β¨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β isDOUBLE PRECISION array, dimension (N*(N+1)/2). The original symmetric matrixA, stored as a packed triangular matrix.Xβ isDOUBLE PRECISION array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβ isINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).Bβ isDOUBLE 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.LDBβ isINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβ isDOUBLE PRECISION array, dimension (N).RESIDβ isDOUBLE 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. π
Thatβs the exact line, bestie.
π€ Author (auto-generated) π€
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page! LAPACK Version 3.12.0, source path /home/abui...IN/dppt02.f(3) β no date listed in the footer, so thatβs the whole tea. π
β¨
π¦ 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