TESTING/LIN/dget02.f(3)
π NAME π
okay bestie, welcome to the Library Functions Manual page for TESTING/LIN/dget02.f β yes, the (3) page too, iykyk. This is where DGET02 lives, and it is lowkey iconic. π
β¨ SYNOPSIS β¨
π οΈ Functions/Subroutines π οΈ
subroutine dget02 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
DGET02 β thatβs the whole vibe. π
π Function/Subroutine Documentation π
subroutine dget02 (character trans, integer m, integer n, 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)
DGET02 β main character energy, fr fr. π«Ά
π― Purpose π―
okay so DGET02 computes the residual for a solution of a system of linear equations op(A)*X = B:
RESID = norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ),
where op(A) = A or A**T, depending on TRANS, and EPS is the machine epsilon.
The norm used is the 1-norm. periodt. π
π Parameters π
TRANSβTRANS is CHARACTER*1. It specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate transpose = Transpose)
MβM is INTEGER. The number of rows of the matrixA.M >= 0. π«ΆNβN is INTEGER. The number of columns of the matrixA.N >= 0.NRHSβNRHS is INTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). The originalM x NmatrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M).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. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T'or'C',LDX >= max(1,M).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 - op(A)*X.LDBβLDB is INTEGER. The leading dimension of the arrayB.IF TRANS = 'N', LDB >= max(1,M); if TRANS = 'T' or 'C', LDB >= max(1,N).RWORKβRWORK is DOUBLE PRECISION array, dimension (M). Thatβs it, no extra lore. πRESIDβRESID is DOUBLE PRECISION. The maximum over the number of right hand sides ofnorm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 133 of file dget02.f. π§Ύ
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
okay thatβs the whole page bestie π β source/version: LAPACK Version 3.12.0; page: TESTING/LIN/dget02.f(3). bye and slay π«Ά
π¦ 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