STRTRI(3)
π STRTRI(3) β the one where we invert a triangular matrix, bestie
okay so before we even get into it, hi, welcome, this page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/strtri.f and it's part of the LAPACK Library Functions Manual and honestly? she's iconic. Let's go. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine STRTRI (uplo, diag, n, a, lda, info)
STRTRI β that's the whole vibe, that's the name, no notes. π
πΈ Function/Subroutine Documentation πΈ
subroutine STRTRI (character uplo, character diag, integer n, real,
dimension( lda, * ) a, integer lda, integer info)
STRTRI (yes, again, she contains multitudes π )
π¦ Purpose
okay so literally what she does:
!>
!> STRTRI computes the inverse of a real upper or lower triangular
!> matrix A.
!>
!> This is the Level 3 BLAS version of the algorithm.
!>
so yeah β inverse of a real upper-or-lower triangular matrix A, and she's the Level 3 BLAS version of the algorithm. no cap. β¨
π Parameters
UPLO
!> UPLO is CHARACTER*1
!> = 'U': A is upper triangular;
!> = 'L': A is lower triangular.
!>
UPLOisCHARACTER*1β which triangle are we even talking about, bestie:'U'βAis upper triangular π'L'βAis lower triangular π«Ά
DIAG
!> DIAG is CHARACTER*1
!> = 'N': A is non-unit triangular;
!> = 'U': A is unit triangular.
!>
DIAGisCHARACTER*1β is the diagonal doing the most or not:'N'βAis non-unit triangular, the diagonal is real and it's doing its job π€'U'βAis unit triangular, diagonal is assumed to be 1, main character energy π
N
!> N is INTEGER
!> The order of the matrix A. N >= 0.
!>
NisINTEGERβ the order of the matrixA. and like,N >= 0, please. no negative-matrix nonsense here π
A
!> A is REAL array, dimension (LDA,N)
!> On entry, the triangular matrix A. 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.
!> On exit, the (triangular) inverse of the original matrix, in
!> the same storage format.
!>
Ais aREALarray, dimension(LDA,N). On entry it's the triangular matrixA, and the storage rules are giving very specific:- if
UPLO = 'U'β the leading N-by-N upper triangular part of the arrayAholds the upper triangular matrix, and the strictly lower triangular part ofAis not referenced, she's simply ignored π - if
UPLO = 'L'β the leading N-by-N lower triangular part of the arrayAholds 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 be 1 β¨
- if
- On exit β the array holds the (triangular) inverse of the original matrix, in the same storage format. slay. π
LDA
!> LDA is INTEGER
!> The leading dimension of the array A. LDA >= max(1,N).
!>
LDAisINTEGERβ the leading dimension of the arrayA, and the rule isLDA >= max(1,N). respect the constraint, bestie π«Ά
INFO
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -i, the i-th argument had an illegal value
!> > 0: if INFO = i, A(i,i) is exactly zero. The triangular
!> matrix is singular and its inverse can not be computed.
!>
INFOisINTEGERβ the vibe check at the end:= 0β successful exit, we ate, no crumbs π< 0β ifINFO = -i, the i-th argument had an illegal value π> 0β ifINFO = i,A(i,i)is exactly zero. the triangular matrix is singular and its inverse can not be computed. that's it, that's the end, do not pass go π¨
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
fr fr,STRTRIis defined at line 108 of filestrtri.f. you're welcome, iykyk π§
π Author
Generated automatically by Doxygen for LAPACK from the source code. she was literally built by a robot and still turned out this cute, obsessed π
and that's the page!! this little cutie is from LAPACK, Version 3.12.0, dated /home/abui...RC/strtri.f(3). mwah, bye 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