TESTING/LIN/cqrt17.f(3)
π
TESTING/LIN/cqrt17.f(3) π
okay so bestie, welcome to the Library Functions Manual page for TESTING/LIN/cqrt17.f β manual name folded in right at the top like a little name tag. This is the CQRT17 situation and she's here to compute a ratio. icon behavior, no cap. π
πΈ NAME πΈ
TESTING/LIN/cqrt17.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
real function cqrt17 (trans, iresid, m, n, nrhs, a, lda, x, ldx, b, ldb,
c, work, lwork)
CQRT17
π¦ Function/Subroutine Documentation π¦
real function cqrt17 (character trans, integer iresid, integer m, integer n,
integer nrhs, complex, dimension( lda, * ) a, integer lda, complex,
dimension( ldx, * ) x, integer ldx, complex, dimension( ldb, * ) b,
integer ldb, complex, dimension( ldb, * ) c, complex, dimension( lwork )
work, integer lwork)
CQRT17
π Purpose π
okay so CQRT17 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βCHARACTER*1. Specifies whether or not the transpose ofAis used.= 'N': No transpose,op(A) = A.= 'C': Conjugate transpose,op(A) = A**H.
IRESIDβINTEGER.IRESID = 1indicates zero-residual problem.IRESID = 2indicates non-zero residual.MβINTEGER. The number of rows of the matrixA.- If
TRANS = 'N', the number of rows of the matrixB. - If
TRANS = 'C', the number of rows of the matrixX.
- If
NβINTEGER. The number of columns of the matrixA.- If
TRANS = 'N', the number of rows of the matrixX. - If
TRANS = 'C', the number of rows of the matrixB.
- If
NRHSβINTEGER. The number of columns of the matricesXandB.AβCOMPLEX array, dimension (LDA,N). The m-by-n matrixA.LDAβINTEGER. The leading dimension of the arrayA.LDA >= M.XβCOMPLEX array, dimension (LDX,NRHS).- If
TRANS = 'N', the n-by-nrhs matrixX. - If
TRANS = 'C', the m-by-nrhs matrixX.
- If
LDXβINTEGER. The leading dimension of the arrayX.- If
TRANS = 'N',LDX >= N. - If
TRANS = 'C',LDX >= M.
- If
BβCOMPLEX array, dimension (LDB,NRHS).- If
TRANS = 'N', the m-by-nrhs matrixB. - If
TRANS = 'C', the n-by-nrhs matrixB.
- If
LDBβINTEGER. The leading dimension of the arrayB.- If
TRANS = 'N',LDB >= M. - If
TRANS = 'C',LDB >= N.
- If
CβCOMPLEX array, dimension (LDB,NRHS).WORKβCOMPLEX array, dimension (LWORK).LWORKβ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 cqrt17.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and that's the page, bestie π«Ά official footer energy: source/version/page = LAPACK Β· Version 3.12.0 Β· TESTING/LIN/cqrt17.f(3) β cute, official, done. πβ¨
π¦ 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