SRC/zgetri.f(3)
π¦ SRC/zgetri.f π¦
Welcome to the Library Functions Manual, bestie β this is literally the SRC/zgetri.f entry, and it's giving βcomplex matrix inverseβ main-character energy. π
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine zgetri (n, a, lda, ipiv, work, lwork, info)β the whole callable vibe. The routine's name isZGETRI, no cap.
πΈ Function/Subroutine Documentation πΈ
Here's the full signature, exactly as the page serves it:
subroutine zgetri (integer n, complex*16, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, complex*16, dimension( * ) work, integer lwork, integer info)
ZGETRI
She's iconic, she's precise, she's ready to invert. π«Ά
π§ Purpose π§
So the glow-up is: ZGETRI computes the inverse of a matrix using the LU factorization computed by ZGETRF. This method inverts U first, then computes inv(A) by solving the system inv(A)*L = inv(U) for inv(A). Literally solving for the inverse, periodt. π
π Parameters π
NβINTEGER. The order of the matrixA, andN >= 0.AβCOMPLEX*16array, dimension(LDA,N). On entry, it holds the factorsLandUfrom the factorizationA = P*L*Uas computed byZGETRF. On exit, ifINFO = 0, it's the inverse of the original matrixA.LDAβINTEGER. The leading dimension of the arrayA, withLDA >= max(1,N).IPIVβINTEGERarray, dimension(N). These are the pivot indices fromZGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).WORKβCOMPLEX*16array, dimension(MAX(1,LWORK)). On exit, ifINFO=0, thenWORK(1)returns the optimalLWORK.LWORKβINTEGER. The dimension of the arrayWORK.LWORK >= max(1,N). For optimal performance,LWORK >= N*NB, whereNBis the optimal blocksize returned byILAENV. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.INFOβINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.> 0: ifINFO = i,U(i,i)is exactly zero; the matrix is singular and its inverse could not be computed.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 113 of file zgetri.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
π And that's the page, bestie: LAPACK, Version 3.12.0, SRC/zgetri.f(3), with no separate date printed in this footer. 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