TESTING/LIN/dqrt17.f(3)
okay so welcome to the TESTING/LIN/dqrt17.f(3) page in the Library Functions Manual, bestie π β this is the DQRT17 documentation and weβre keeping every lil detail, no cap.
π NAME
TESTING/LIN/dqrt17.f β yep, thatβs the page, bestie. Itβs the DQRT17 function/subroutine documentation, and itβs giving very βlinear algebra testerβ energy. β¨
β¨ SYNOPSIS
π§ Functions/Subroutines
double precision function dqrt17 (trans, iresid, m, n, nrhs, a, lda, x,
ldx, b, ldb, c, work, lwork)
DQRT17
DQRT17 is the main character here. π
π Function/Subroutine Documentation
double precision function dqrt17 (character trans, integer iresid, 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( ldb, * ) c, double precision, dimension( lwork ) work,
integer lwork)
DQRT17 β¨
Purpose
Okay so DQRT17 computes the ratio β brace yourself, itβs a whole formula:
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. Periodt. π
Parameters
TRANS
TRANS is CHARACTER*1 β it specifies whether or not the transpose of A is used. π¦
= 'N'β No transpose,op(A) = A.= 'T'β Transpose,op(A) = A**T.
IRESID
IRESID is INTEGER β the residual situation, lowkey important:
IRESID = 1β indicates zero-residual problem.IRESID = 2β indicates non-zero residual.
M
M is INTEGER β the number of rows of the matrix A.
- If
TRANS = 'N', the number of rows of the matrixB. - If
TRANS = 'T', the number of rows of the matrixX.
N
N is INTEGER β the number of columns of the matrix A.
- If
TRANS = 'N', the number of rows of the matrixX. - If
TRANS = 'T', the number of rows of the matrixB.
NRHS
NRHS is INTEGER β the number of columns of the matrices X and B. πΈ
A
A is DOUBLE PRECISION array, dimension (LDA,N) β the m-by-n matrix A. π«Ά
LDA
LDA is INTEGER β the leading dimension of the array A. LDA >= M.
X
X is DOUBLE PRECISION array, dimension (LDX,NRHS).
- If
TRANS = 'N', the n-by-nrhs matrixX. - If
TRANS = 'T', the m-by-nrhs matrixX.
LDX
LDX is INTEGER β the leading dimension of the array X.
- If
TRANS = 'N',LDX >= N. - If
TRANS = 'T',LDX >= M.
B
B is DOUBLE PRECISION array, dimension (LDB,NRHS).
- If
TRANS = 'N', the m-by-nrhs matrixB. - If
TRANS = 'T', the n-by-nrhs matrixB.
LDB
LDB is INTEGER β the leading dimension of the array B.
- If
TRANS = 'N',LDB >= M. - If
TRANS = 'T',LDB >= N.
C
C is DOUBLE PRECISION array, dimension (LDB,NRHS). π
WORK
WORK is DOUBLE PRECISION array, dimension (LWORK). π§
LWORK
LWORK is INTEGER β the length of the array WORK. LWORK >= NRHS*(M+N).
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 151 of file dqrt17.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π thatβs the whole page, bestie β from LAPACK, Version 3.12.0, with the page tag TESTING/LIN/dqrt17.f(3). No date listed in the footer, just the version tea. π
π¦ 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