TESTING/LIN/ztrt02.f(3)
π NAME π
okay so bestie, this is the manual page for TESTING/LIN/ztrt02.f(3) β Library Functions Manual energy, no cap. The main character here is ztrt02, a subroutine that checks residuals for triangular solves, and she is lowkey iconic. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine ztrt02 (uplo, trans, diag, n, nrhs, a, lda, x, ldx, b, ldb,
work, rwork, resid)
ZTRT02
π Function/Subroutine Documentation π
subroutine ztrt02 (character uplo, character trans, character diag, 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, complex*16, dimension( * ) work, double
precision, dimension( * ) rwork, double precision resid)
ZTRT02
πΈ Purpose πΈ
ZTRT02 computes the residual for the computed solution to a triangular system of linear equations op(A)*X = B, where A is a triangular matrix. The test ratio is the maximum over
norm(b - op(A)*x) / ( ||op(A)||_1 * norm(x) * EPS ),
where op(A) = A, A**T, or A**H, b is the column of B, x is the solution vector, and EPS is the machine epsilon. slay. β¨
π¦ Parameters π¦
UPLOβUPLOisCHARACTER*1and specifies whether the matrixAis upper or lower triangular.= 'U': Upper triangular= 'L': Lower triangular
TRANSβTRANSisCHARACTER*1and specifies the operation applied toA.= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate transpose)
DIAGβDIAGisCHARACTER*1and specifies whether or not the matrixAis unit triangular.= 'N': Non-unit triangular= 'U': Unit triangular
NβNisINTEGER. The order of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matricesXandB.NRHS >= 0.AβAisCOMPLEX*16 array, dimension (LDA,N). The triangular matrixA.
If UPLO = 'U', the leading n by n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced.
If UPLO = 'L', the leading n by n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced.
If DIAG = 'U', the diagonal elements of A are also not referenced and are assumed to be 1. periodt.
LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).XβXisCOMPLEX*16 array, dimension (LDX,NRHS). The computed solution vectors for the system of linear equations.LDXβLDXisINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).BβBisCOMPLEX*16 array, dimension (LDB,NRHS). The right hand side vectors for the system of linear equations.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).WORKβWORKisCOMPLEX*16 array, dimension (N).RWORKβRWORKisDOUBLE PRECISION array, dimension (N).RESIDβRESIDisDOUBLE PRECISION. The maximum over the number of right hand sides of
norm(op(A)*X - B) / ( norm(op(A)) * norm(X) * EPS ).
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 153 of file ztrt02.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π okay thatβs the whole page, bestie β LAPACK Version 3.12.0, page TESTING/LIN/ztrt02.f(3), signing off with main character energy. mwah π
β¨
π¦ 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