SRC/ctrtri.f(3)
π SRC/ctrtri.f(3) β Library Functions Manual π
okay bestie, welcome to the ctrtri page from the Library Functions Manual. Itβs giving Level 3 BLAS realness, and Iβm gonna walk you through every single parameter like the devoted Unix bestie I am. π
π NAME π
SRC/ctrtri.f β yes, thatβs the page name, and itβs all about the CTRTRI subroutine. No cap, thatβs the whole NAME section. β¨
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine ctrtri (uplo, diag, n, a, lda, info)
CTRTRI
π¦ Function/Subroutine Documentation π¦
subroutine ctrtri (character uplo, character diag, integer n, complex,
dimension( lda, * ) a, integer lda, integer info)
CTRTRI β thatβs the star of the show, bestie. π
π₯ Purpose π₯
CTRTRI computes the inverse of a complex upper or lower triangular matrix A.
This is the Level 3 BLAS version of the algorithm.
π Parameters π
UPLOβUPLOisCHARACTER*1. It tells us which triangle ofAweβre working with:= 'U':Ais upper triangular;= 'L':Ais lower triangular.DIAGβDIAGisCHARACTER*1. It says whether the diagonal is unit or not:= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.NβNisINTEGER. Itβs the order of the matrixA. And the rule isN >= 0.AβAisCOMPLEX array, dimension (LDA,N). On entry, itβs the triangular matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower 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 be1. On exit,Aholds the (triangular) inverse of the original matrix, in the same storage format. Same storage format on exit β iconic. πLDAβLDAisINTEGER. Itβs the leading dimension of the arrayA. The rule isLDA >= max(1,N).INFOβINFOisINTEGER. Exit status tea:= 0: successful exit;< 0: ifINFO = -i, thei-th argument had an illegal value;> 0: ifINFO = i,A(i,i)is exactly zero. In that case the triangular matrix is singular and its inverse can not be computed. So yeah, singular means no inverse, bestie β not a vibe. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 108 of file ctrtri.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Thatβs the whole page, bestie! π Footer check: LAPACK Version 3.12.0, page SRC/ctrtri.f(3) β and thereβs no date listed on this footer, so Iβm not inventing one. π Periodt. π«Ά
π¦ 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