SQRT17(3)
π SQRT17(3) π
Okay bestie, this page is from the LAPACK Library Functions Manual, and the header shorthand path is /home/abui...IN/sqrt17.f(3). The title is SQRT17(3), and she is here to compute a residual ratio with main-character energy. β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sqrt17.f
Yes, that whole snack is the name line. No cap. π
β¨ SYNOPSIS β¨
Functions/Subroutines
real function SQRT17 (trans, iresid, m, n, nrhs, a, lda, x, ldx, b, ldb,
c, work, lwork)
SQRT17
π¦ Function/Subroutine Documentation π¦
real function SQRT17 (character trans, integer iresid, integer m, integer n,
integer nrhs, real, dimension( lda, * ) a, integer lda, real, dimension(
ldx, * ) x, integer ldx, real, dimension( ldb, * ) b, integer ldb, real,
dimension( ldb, * ) c, real, dimension( lwork ) work, integer lwork)
SQRT17
SQRT17 is literally the function name, and she is serving. π«Ά
π Purpose π
SQRT17 computes the ratio:
norm(R**T * op(A)) / ( norm(A) * alpha * max(M,N,NRHS) * EPS ),
where:
R = B - op(A)*X
op(A) is A or A**T, 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. Iconic. π
π Parameters π
TRANSβTRANS is CHARACTER*1. Specifies whether or not the transpose ofAis used.= 'N': No transpose, op(A) = A.= 'T': Transpose, op(A) = A**T.
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.- If
TRANS = 'N', the number of rows of the matrixB. - If
TRANS = 'T', the number of rows of the matrixX.
- If
NβN is INTEGER. The number of columns of the matrixA.- If
TRANS = 'N', the number of rows of the matrixX. - If
TRANS = 'T', the number of rows of the matrixB.
- If
NRHSβNRHS is INTEGER. The number of columns of the matricesXandB.AβA is REAL array, dimension (LDA,N). The m-by-n matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= M.XβX is REAL array, dimension (LDX,NRHS).- If
TRANS = 'N', the n-by-nrhs matrixX. - If
TRANS = 'T', the m-by-nrhs matrixX.
- If
LDXβLDX is INTEGER. The leading dimension of the arrayX.- If
TRANS = 'N',LDX >= N. - If
TRANS = 'T',LDX >= M.
- If
BβB is REAL array, dimension (LDB,NRHS).- If
TRANS = 'N', the m-by-nrhs matrixB. - If
TRANS = 'T', the n-by-nrhs matrixB.
- If
LDBβLDB is INTEGER. The leading dimension of the arrayB.- If
TRANS = 'N',LDB >= M. - If
TRANS = 'T',LDB >= N.
- If
CβC is REAL array, dimension (LDB,NRHS).WORKβWORK is REAL 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 sqrt17.f. π
Thatβs the exact spot: line 151 of sqrt17.f. Slay. π
πͺ Author πͺ
Generated automatically by Doxygen for LAPACK from the source code.
Sign-off time, bestie: LAPACK, Version 3.12.0 β source /home/abui...IN/sqrt17.f(3) β the footer didnβt print a date, but the vibe is timeless ππβ¨
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms