DGETRI(3)
π NAME π
okay bestie, youβve landed on DGETRI(3), from the Library Functions Manual π
. The page path is /home/abui...RC/dgetri.f(3), and the source file is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgetri.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine DGETRI (n, a, lda, ipiv, work, lwork, info)
DGETRI
π¦ Function/Subroutine Documentation π¦
DGETRI
subroutine DGETRI (integer n, double precision, dimension( lda, * ) a,
integer lda, integer, dimension( * ) ipiv, double precision, dimension(
* ) work, integer lwork, integer info)
DGETRI
π Purpose π
okay so real talk: DGETRI computes the inverse of a matrix using the LU factorization computed by DGETRF. β¨
This method inverts U and then computes inv(A) by solving the system inv(A)*L = inv(U) for inv(A). no cap, thatβs the whole vibe π«Ά
π§ Parameters π§
NβN is INTEGER. The order of the matrixA.N >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). On entry, the factorsLandUfrom the factorizationA = P*L*Uas computed byDGETRF. On exit, ifINFO = 0, the inverse of the original matrixA.LDAβLDA is INTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIV is INTEGER array, dimension (N). The pivot indices fromDGETRF; for1<=i<=N, rowiof the matrix was interchanged with rowIPIV(i).WORKβWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK)). On exit, ifINFO=0, thenWORK(1)returns the optimalLWORK.LWORKβLWORK is INTEGER. The dimension of the arrayWORK.LWORK >= max(1,N). For optimal performanceLWORK >= N*NB, whereNBis the optimal blocksize returned byILAENV.
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. π«‘
INFOβINFO is INTEGER= 0: successful exit< 0: ifINFO = -i, thei-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 dgetri.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
xoxo, LAPACK Version 3.12.0 π for /home/abui...RC/dgetri.f(3) β thatβs the whole page, bestie, periodt π
β¨
π¦ 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