TESTING/LIN/zqrt17.f(3)
π NAME π
Okay bestie, this page is all about TESTING/LIN/zqrt17.f, and the full manual name is TESTING/LIN/zqrt17.f(3). The main character here is the zqrt17 routine β no cap, it's giving LAPACK testing-file energy. π
β¨ SYNOPSIS β¨
Functions/Subroutines
double precision function zqrt17 (trans, iresid, m, n, nrhs, a, lda, x,
ldx, b, ldb, c, work, lwork)
ZQRT17
π οΈ Function/Subroutine Documentation π οΈ
double precision function zqrt17 (character trans, integer iresid, integer
m, integer n, integer nrhs, complex*16, dimension( lda, * ) a, integer
lda, complex*16, dimension( ldx, * ) x, integer ldx, complex*16,
dimension( ldb, * ) b, integer ldb, complex*16, dimension( ldb, * ) c,
complex*16, dimension( lwork ) work, integer lwork)
ZQRT17
π― Purpose π―
So, ZQRT17 computes the ratio:
norm(R**H * op(A)) / ( norm(A) * alpha * max(M,N,NRHS) * EPS ),
where R = B - op(A)*X, op(A) is A or A**H, depending on TRANS, EPS is the machine epsilon, and:
alpha = norm(B) if IRESID = 1 (zero-residual problem)
alpha = norm(R) if IRESID = 2 (otherwise).
The norm used is the 1-norm. Periodt. π
π§Ύ Parameters π§Ύ
TRANSβTRANS is CHARACTER*1. Specifies whether or not the transpose ofAis used.= 'N': No transpose,op(A) = A.= 'C': Conjugate transpose,op(A) = A**H.IRESIDβIRESID is INTEGER.IRESID = 1indicates zero-residual problem.IRESID = 2indicates non-zero residual.MβM is INTEGER. The number of rows of the matrixA. IfTRANS = 'N', the number of rows of the matrixB. IfTRANS = 'C', the number of rows of the matrixX.NβN is INTEGER. The number of columns of the matrixA. IfTRANS = 'N', the number of rows of the matrixX. IfTRANS = 'C', the number of rows of the matrixB.NRHSβNRHS is INTEGER. The number of columns of the matricesXandB.AβA is COMPLEX*16 array, dimension (LDA,N). The m-by-n matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= M.XβX is COMPLEX*16 array, dimension (LDX,NRHS). IfTRANS = 'N', the n-by-nrhs matrixX. IfTRANS = 'C', the m-by-nrhs matrixX.LDXβLDX is INTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= N. IfTRANS = 'C',LDX >= M.BβB is COMPLEX*16 array, dimension (LDB,NRHS). IfTRANS = 'N', the m-by-nrhs matrixB. IfTRANS = 'C', the n-by-nrhs matrixB.LDBβLDB is INTEGER. The leading dimension of the arrayB. IfTRANS = 'N',LDB >= M. IfTRANS = 'C',LDB >= N.CβC is COMPLEX*16 array, dimension (LDB,NRHS).WORKβWORK is COMPLEX*16 array, dimension (LWORK).LWORKβLWORK is INTEGER. The length of the arrayWORK.LWORK >= NRHS*(M+N).
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 151 of file zqrt17.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Byeee bestie! π This iconic page is from LAPACK Version 3.12.0, manual name TESTING/LIN/zqrt17.f(3) β slay, stay sparkly, and go compute that ratio. β¨π
π¦ 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