TESTING/LIN/dget08.f(3)
πΈ TESTING/LIN/dget08.f(3) πΈ
Hey bestie π you're looking at the Library Functions Manual page for TESTING/LIN/dget08.f(3) β yes, the LAPACK testing/LIN corner of the universe. This one is all about DGET08, a subroutine that does residual math for linear systems, and we are gonna cover every single argument because that's the vibe. β¨
π NAME π
TESTING/LIN/dget08.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine dget08 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)
DGET08
π Function/Subroutine Documentation π
subroutine dget08 (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)
DGET08
π― Purpose
DGET08 computes the residual for a solution of a system of linear equations
A*x = b or A'*x = b:
RESID = norm(B - A*X,inf) / ( norm(A,inf) * norm(X,inf) * EPS ),
where EPS is the machine epsilon. Periodt. π
π Parameters
Okay bestie, here's every parameter β no skipping, no summarizing, we're doing the whole list. π«Ά
TRANSβCHARACTER*1. Specifies the form of the system of equations:= 'N': A *x = b= 'T': A'*x = b, where A' is the transpose of A= 'C': A'*x = b, where A' is the transpose of A
MβINTEGER. The number of rows of the matrixA.M >= 0. πNβINTEGER. The number of columns of the matrixA.N >= 0. πNRHSβINTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0. πAβDOUBLE PRECISIONarray, dimension(LDA,N). The originalM x NmatrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= max(1,M). β¨XβDOUBLE PRECISIONarray, dimension(LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβINTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T'or'C',LDX >= max(1,M). π₯BβDOUBLE PRECISIONarray, 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βINTEGER. The leading dimension of the arrayB.IF TRANS = 'N',LDB >= max(1,M); ifTRANS = 'T'or'C',LDB >= max(1,N). πRWORKβDOUBLE PRECISIONarray, dimension(M). π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 131 of file dget08.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
Okay that's the whole page, bestie! π«Ά This is from LAPACK, Version 3.12.0, and it's the TESTING/LIN/dget08.f(3) page. The footer doesn't list a date, so no fake date energy here β auto-generated by Doxygen for LAPACK from the source code, 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