DTRT02(3)
π¦ DTRT02(3) β Library Functions Manual π¦
Bestie, this page comes from /home/abui...IN/dtrt02.f(3), and the manual name is Library Functions Manual. We are officially in our LAPACK triangular-residual era. π
β¨ NAME β¨
The NAME tea is this exact file path:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dtrt02.f
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine DTRT02 (uplo, trans, diag, n, nrhs, a, lda, x, ldx, b, ldb,
work, resid)
DTRT02
π¦ Function/Subroutine Documentation π¦
subroutine DTRT02 (character uplo, character trans, character diag, 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( * )
work, double precision resid)
DTRT02
π Purpose π
Okay so DTRT02 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 or A**T, b is the column of B, x is the solution vector, and EPS is the machine epsilon. The norm used is the 1-norm. Slay, that's the whole vibe. π
β Parameters β
UPLOβUPLOisCHARACTER*1. Specifies whether matrixAis upper or lower triangular:= 'U': Upper triangular,= 'L': Lower triangular.TRANSβTRANSisCHARACTER*1. Specifies the operation applied toA:= 'N': A * X = B (No transpose),= 'T': A**T * X = B (Transpose),= 'C': A**H * X = B (Conjugate transpose = Transpose).DIAGβDIAGisCHARACTER*1. Specifies whether or not matrixAis unit triangular:= 'N': Non-unit triangular,= 'U': Unit triangular.NβNisINTEGER. The order of matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of matricesXandB.NRHS >= 0.AβAisDOUBLE PRECISION array, dimension (LDA,N). The triangular matrixA. IfUPLO = 'U', the leading n by n upper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading n by n lower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. IfDIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be 1.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).XβXisDOUBLE PRECISION 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βBisDOUBLE PRECISION 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βWORKisDOUBLE PRECISION array, dimension (N).RESIDβRESIDisDOUBLE PRECISION. The maximum over the number of right hand sides ofnorm(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 148 of file dtrt02.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π Footer tea: LAPACK Version 3.12.0, file /home/abui...IN/dtrt02.f(3). No date is printed in the footer, so that's the whole sign-off, bestie β byeee π«Άπ
π¦ 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