CGET02(3)
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/cget02.f β okay bestie, this is the name entry for cget02.f(3) from the Library Functions Manual. Itβs a Fortran file path, and itβs here to spill the tea on CGET02. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CGET02 (trans, m, n, nrhs, a, lda, x, ldx, b, ldb, rwork, resid)βCGET02
π Function/Subroutine Documentation π
subroutine CGET02 (character trans, integer m, integer n, integer nrhs,
complex, dimension( lda, * ) a, integer lda, complex, dimension( ldx, *
) x, integer ldx, complex, dimension( ldb, * ) b, integer ldb, real,
dimension( * ) rwork, real resid)
CGET02 β yes, sheβs the main character π
Purpose:
CGET02 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. No cap, thatβs the whole vibe. π
Parameters
TRANSβTRANS is CHARACTER*1. It specifies the form of the system of equations, and you already know she has options:= '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 matrixA.M >= 0. Keep it cute and non-negative. β¨NβN is INTEGER. The number of columns of the matrixA.N >= 0. Slay. πNRHSβNRHS is INTEGER. The number of columns ofB, the matrix of right hand sides.NRHS >= 0.AβA is COMPLEX array, dimension (LDA,N). The originalM x NmatrixA. Iconic. π¦LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,M). Respect the leading dimension, periodt.XβX is COMPLEX array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDX is INTEGER. The leading dimension of the arrayX. IfTRANS = 'N',LDX >= max(1,N); ifTRANS = 'T'or'C',LDX >= max(1,M).BβB is COMPLEX array, dimension (LDB,NRHS). On entry, the right hand side vectors for the system of linear equations. On exit,Bis overwritten with the differenceB - op(A)*X. Not me getting overwritten mid-call πLDBβLDB is INTEGER. The leading dimension of the arrayB. IFTRANS = 'N',LDB >= max(1,M); ifTRANS = 'T'or'C',LDB >= max(1,N).RWORKβRWORK is REAL array, dimension (M). Thatβs it, thatβs the whole note. πΈRESIDβRESID is REAL. The maximum over the number of right hand sides ofnorm(B - op(A)*X) / ( norm(op(A)) * norm(X) * EPS ). This is the final boss number, bestie. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 132 of file cget02.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β source/version check: LAPACK Version 3.12.0, page path: /home/abui...IN/cget02.f(3), no date listed, just pure LAPACK energy. Byeee bestie π«Ά
π¦ 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