ZGET02(3)
okay bestie, welcome to the Library Functions Manual page for zget02.f(3) β yes, the LAPACK girlies said βletβs check a residual,β and honestly? iconic. π
This one is a ZGET02 subroutine situation, and weβre gonna keep every little detail because thatβs the vibe. No cap.
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/zget02.f
thatβs the file path, bestie. The source file herself. π«Ά
β¨ SYNOPSIS
π§ Functions/Subroutines
subroutine ZGET02 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork,
resid)
ZGET02
π Function/Subroutine Documentation
subroutine ZGET02 (character trans, 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,
double precision, dimension( * ) rwork, double precision resid)
ZGET02
π§ Purpose
ZGET02 computes the residual for a solution of a system of linear equations op(A)*X = B:
RESID = norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ),
where op(A) = A, A**T, or A**H, depending on TRANS, and EPS is the machine epsilon. Thatβs the whole tea, no cap. π
πΈ Parameters
okay, parameter-by-parameter vibe check. Donβt skip, sheβs thorough. π
π TRANS
TRANS is CHARACTER*1
Specifies the form of the system of equations:
= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate transpose)
π¦ M
M is INTEGER
The number of rows of the matrix A. M >= 0.
π N
N is INTEGER
The number of columns of the matrix A. N >= 0.
π NRHS
NRHS is INTEGER
The number of columns of B, the matrix of right hand sides. NRHS >= 0.
π₯ A
A is COMPLEX*16 array, dimension (LDA,N)
The original M x N matrix A.
β LDA
LDA is INTEGER
The leading dimension of the array A. LDA >= max(1,M).
π¦ X
X is COMPLEX*16 array, dimension (LDX,NRHS)
The computed solution vectors for the system of linear equations.
πΈ LDX
LDX is INTEGER
The leading dimension of the array X. If TRANS = 'N', LDX >= max(1,N); if TRANS = 'T' or 'C', LDX >= max(1,M).
π B
B is COMPLEX*16 array, dimension (LDB,NRHS)
On entry, the right hand side vectors for the system of linear equations.
On exit, B is overwritten with the difference B - op(A)*X.
π LDB
LDB is INTEGER
The leading dimension of the array B. IF TRANS = 'N', LDB >= max(1,M); if TRANS = 'T' or 'C', LDB >= max(1,N).
π§ RWORK
RWORK is DOUBLE PRECISION array, dimension (M)
thatβs the whole note, bestie. π
π RESID
RESID is DOUBLE PRECISION
The maximum over the number of right hand sides of norm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ).
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 132 of file zget02.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the page, bestie! Signed off with LAPACK Version 3.12.0 and the footer path /home/abui...IN/zget02.f(3) β mwah πβ¨
π¦ 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