DGTTRF(3)
Hey bestie π welcome to the dgttrf.f(3) page from the Library Functions Manual. This is the LAPACK tea on DGTTRF, and it's lowkey iconic: LU factorization of a real tridiagonal matrix, no cap. π¦β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dgttrf.f
That's the source file path, periodt. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DGTTRF (n, dl, d, du, du2, ipiv, info)
DGTTRF
π Function/Subroutine Documentation π
subroutine DGTTRF (integer n, double precision, dimension( * ) dl, double precision, dimension( * ) d, double precision, dimension( * ) du, double precision, dimension( * ) du2, integer, dimension( * ) ipiv, integer info)
DGTTRF
π Purpose π
Okay so DGTTRF computes an LU factorization of a real tridiagonal matrix A using elimination with partial pivoting and row interchanges. It's giving very structured main character energy. π
The factorization has the form
A = L * U
where L is a product of permutation and unit lower bidiagonal matrices, and U is upper triangular with nonzeros in only the main diagonal and first two superdiagonals. β¨
π Parameters π
NβNisINTEGER. The order of the matrixA. πDLβDLisDOUBLE PRECISIONarray, dimension(N-1). On entry,DLmust contain the(n-1)sub-diagonal elements ofA. On exit,DLis overwritten by the(n-1)multipliers that define the matrixLfrom the LU factorization ofA. π¦DβDisDOUBLE PRECISIONarray, dimension(N). On entry,Dmust contain the diagonal elements ofA. On exit,Dis overwritten by thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA. πΈDUβDUisDOUBLE PRECISIONarray, dimension(N-1). On entry,DUmust contain the(n-1)super-diagonal elements ofA. On exit,DUis overwritten by the(n-1)elements of the first super-diagonal ofU. β¨DU2βDU2isDOUBLE PRECISIONarray, dimension(N-2). On exit,DU2is overwritten by the(n-2)elements of the second super-diagonal ofU. πIPIVβIPIVisINTEGERarray, dimension(N). The pivot indices; for1 <= i <= n, rowiof the matrix was interchanged with rowIPIV(i).IPIV(i)will always be eitheriori+1;IPIV(i) = iindicates a row interchange was not required. πINFOβINFOisINTEGER.= 0: successful exit π< 0: ifINFO = -k, thek-th argument had an illegal value> 0: ifINFO = k,U(k,k)is exactly zero. The factorization has been completed, but the factorUis exactly singular, and division by zero will occur if it is used to solve a system of equations. π
Bestie, thatINFO > 0case is not a cute little warning β it meansUis exactly singular and division by zero is coming if you use it to solve a system. Periodt. π¨
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 123 of file dgttrf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€
Final footer sign-off, bestie: this page is from LAPACK, Version 3.12.0, and the footer path is /home/abui...RC/dgttrf.f(3). The footer doesn't give a date, so we're not inventing one β no cap. π«Άπ
π¦ 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