TESTING/LIN/dpbt02.f(3)
β¨ TESTING/LIN/dpbt02.f(3) β¨
okay bestie, this is the TESTING/LIN/dpbt02.f page from the Library Functions Manual β the dpbt02 subroutine is serving residual-computation main character energy, and she has receipts. π
πΈ NAME πΈ
TESTING/LIN/dpbt02.f β the file that brings you the dpbt02 subroutine. No cap. π¦
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine dpbt02 (uplo, n, kd, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)DPBT02β that's the name, iconic behavior only. π
π Function/Subroutine Documentation π
β¨ subroutine dpbt02 β¨
subroutine dpbt02 (character uplo, integer n, integer kd, integer nrhs,
double precision, dimension( lda, * ) a, integer lda, double precision,
dimension( ldx, * ) x, integer ldx, double precision, dimension( ldb, *
) b, integer ldb, double precision, dimension( * ) rwork, double
precision resid)
DPBT02 π«Ά
π Purpose π
okay so DPBT02 computes the residual for a solution of a symmetric banded system of equations A*x = b:
RESID = norm( B - A*X ) / ( norm(A) * norm(X) * EPS)
where EPS is the machine precision. That's the whole assignment, literally. π
π Parameters π
UPLOβUPLO is CHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβN is INTEGER. The number of rows and columns of the matrixA.N >= 0.KDβKD is INTEGER. The number of super-diagonals of the matrixAifUPLO = 'U', or the number of sub-diagonals ifUPLO = 'L'.KD >= 0.NRHSβNRHS is INTEGER. The number of right hand sides.NRHS >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). The original symmetric band matrixA. IfUPLO = 'U', the upper triangular part ofAis stored as a band matrix; ifUPLO = 'L', the lower triangular part ofAis stored. The columns of the appropriate triangle are stored in the columns ofAand the diagonals of the triangle are stored in the rows ofA. SeeDPBTRFfor further details.LDAβLDA is INTEGER.The leading dimension of the arrayA.LDA >= max(1,KD+1).XβX is DOUBLE PRECISION array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDX is INTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβB is 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.LDBβLDB is INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).RWORKβRWORK is DOUBLE PRECISION array, dimension (N).RESIDβRESID is 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 π§Ύ
Definition at line 134 of file dpbt02.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
and that's the tea, bestie: the footer signs off with LAPACK, Version 3.12.0, and TESTING/LIN/dpbt02.f(3) β the source/version/date energy, periodt. πβ¨π
π¦ 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