TESTING/LIN/cqrt16.f(3)
π NAME π
TESTING/LIN/cqrt16.f β thatβs the file, bestie, and this is its Library Functions Manual page. CQRT16 is the subroutine inside, and itβs lowkey giving βlinear algebra residual checkβ main character energy. β¨
β¨ SYNOPSIS β¨
Under Functions/Subroutines, youβve got this:
subroutine cqrt16 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork,
resid)
CQRT16
πΈ Function/Subroutine Documentation πΈ
Hereβs the full signature, no cap:
subroutine cqrt16 (character trans, integer m, integer n, integer nrhs,
complex, dimension( lda, * ) a, integer lda, complex, dimension( ldx, *
) x, integer ldx, complex, dimension( ldb, * ) b, integer ldb, real,
dimension( * ) rwork, real resid)
CQRT16
π― Purpose π―
CQRT16 computes the residual for a solution of a system of linear equations A*x = b or A'*x = b:
RESID = norm(B - A*X) / ( max(m,n) * norm(A) * norm(X) * EPS ),
where EPS is the machine epsilon. π
π§Ύ Parameters π§Ύ
TRANSβTRANSisCHARACTER*1. It specifies the form of the system of equations:= 'N': A *x = b= 'T': A^T*x = b, whereA^Tis the transpose ofA= 'C': A^H*x = b, whereA^His the conjugate transpose ofA
MβMisINTEGER. The number of rows of the matrixA.M >= 0.NβNisINTEGER. The number of columns of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβAisCOMPLEX array, dimension (LDA,N). The originalM x NmatrixA.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,M).XβXisCOMPLEX array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDXisINTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T'or'C',LDX >= max(1,M).BβBisCOMPLEX 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βLDBisINTEGER. The leading dimension of the arrayB. IFTRANS = 'N',LDB >= max(1,M); ifTRANS = 'T'or'C',LDB >= max(1,N).RWORKβRWORKisREAL array, dimension (M).RESIDβRESIDisREAL. The maximum over the number of right hand sides ofnorm(B - A*X) / ( max(m,n) * 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 cqrt16.f.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. π«Ά
Sign-off time, bestie: this page is from LAPACK Version 3.12.0, file TESTING/LIN/cqrt16.f(3). The footer didnβt show a date, so Iβm not inventing one β just vibes and version numbers. πβ¨
π¦ 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