CTRTRI(3)
π ctrtri.f(3) β Library Functions Manual π
Okay bestie, welcome to the glow-up of the Library Functions Manual page for ctrtri.f(3). It's giving "linear algebra but make it cute" and I'm obsessed.
πΈ NAME πΈ
This page is about this exact file, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ctrtri.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CTRTRI (uplo, diag, n, a, lda, info)
CTRTRI
π¦ Function/Subroutine Documentation π¦
subroutine CTRTRI signature, fr fr
subroutine CTRTRI (character uplo, character diag, integer n, complex,
dimension( lda, * ) a, integer lda, integer info)
CTRTRI
π Purpose π
So, CTRTRI computes the inverse of a complex upper or lower triangular matrix A. It's literally "undo the triangle" energy. This is the Level 3 BLAS version of the algorithm. Periodt. π
π Parameters π
UPLO
UPLO is CHARACTER*1, and it tells us which triangle we're working with:
= 'U':Ais upper triangular;= 'L':Ais lower triangular.
DIAG
DIAG is CHARACTER*1, and it's the unit-or-not situation:
= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
N
N is INTEGER. It's the order of the matrix A. Constraint: N >= 0.
A
A is COMPLEX array, dimension (LDA,N). On entry, it's the triangular matrix A, and the storage rules are lowkey specific:
- If
UPLO = '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. - If
UPLO = '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. - If
DIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be1.
On exit, A holds the (triangular) inverse of the original matrix, in the same storage format. Iconic. β¨
LDA
LDA is INTEGER. It's the leading dimension of the array A. Constraint: LDA >= max(1,N).
INFO
INFO is INTEGER, and the vibes are:
= 0: successful exit< 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.
Bestie, that last one is the "uh oh" case β singular matrix, no inverse, no slay. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 108 of file ctrtri.f.
β Author β
This one's the auto-generated bit:
Generated automatically by Doxygen for LAPACK from the source code.
Okay bestie, that's the whole page. Final sign-off energy: this is LAPACK, Version 3.12.0, with the footer path /home/abui...RC/ctrtri.f(3). Mwah πβ¨π«Ά
π¦ 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