TESTING/LIN/dqrt17.f(3)

πŸ“¦
version 3.12.1 Β· 2 versions
, in arch rolling

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 matrix B.
  • If TRANS = 'T', the number of rows of the matrix X.

N

N is INTEGER β€” the number of columns of the matrix A.

  • If TRANS = 'N', the number of rows of the matrix X.
  • If TRANS = 'T', the number of rows of the matrix B.

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 matrix X.
  • If TRANS = 'T', the m-by-nrhs matrix X.

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 matrix B.
  • If TRANS = 'T', the n-by-nrhs matrix B.

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