SRC/dtrtrs.f(3)
π SRC/dtrtrs.f(3) β Library Functions Manual π
πΈ NAME πΈ
SRC/dtrtrs.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine dtrtrs (uplo, trans, diag, n, nrhs, a, lda, b, ldb, info)
DTRTRS
π Function/Subroutine Documentation π
π« subroutine dtrtrs π«
subroutine dtrtrs (character uplo, character trans, character diag, integer
n, integer nrhs, double precision, dimension( lda, * ) a, integer lda,
double precision, dimension( ldb, * ) b, integer ldb, integer info)
DTRTRS is the main character here, no cap π
π¦ Purpose π¦
Okay so bestie, DTRTRS solves a triangular system of the form
A * X = B or A**T * X = B,
where A is a triangular matrix of order N, and B is an N-by-NRHS matrix. Iconic. β¨
This subroutine verifies that A is nonsingular, but callers should note that only exact singularity is detected. It is conceivable for one or more diagonal elements of A to be subnormally tiny numbers without this subroutine signalling an error. π«Ά
If a possible loss of numerical precision due to near-singular matrices is a concern, the caller should verify that A is nonsingular within some tolerance before calling this subroutine. That part is important, bestie β donβt skip the vibe check. π
π Parameters π
UPLOβ isCHARACTER*1= 'U':Ais upper triangular;= 'L':Ais lower triangular.
TRANSβ isCHARACTER*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 = Transpose)
DIAGβ isCHARACTER*1= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
Nβ isINTEGER; the order of the matrixA.N >= 0.NRHSβ isINTEGER; the number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.Aβ isDOUBLE PRECISION array, dimension (LDA,N); the triangular matrixA.- If
UPLO = 'U', the leadingN-by-Nupper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. - If
UPLO = 'L', the leadingN-by-Nlower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. - If
DIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be1.
- If
LDAβ isINTEGER; the leading dimension of the arrayA.LDA >= max(1,N).Bβ isDOUBLE PRECISION array, dimension (LDB,NRHS).- On entry, the right hand side matrix
B. - On exit, if
INFO = 0, the solution matrixX.
- On entry, the right hand side matrix
LDBβ isINTEGER; the leading dimension of the arrayB.LDB >= max(1,N).INFOβ isINTEGER= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i, the i-th diagonal element ofAis exactly zero, indicating that the matrix is singular and the solutionsXhave not been computed. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 144 of file dtrtrs.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
bye bestie! This little page is from LAPACK Version 3.12.0 and lives at SRC/dtrtrs.f(3) β slay responsibly π
πβ¨
π¦ 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