SRC/dgttrf.f(3)
πΈ NAME πΈ
SRC/dgttrf.f β okay bestie, this page is from the Library Functions Manual, and itβs all about the DGTTRF subroutine serving real tridiagonal LU factorization energy. π
β¨
β¨ 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 π
So like, DGTTRF computes an LU factorization of a real tridiagonal matrix A using elimination with partial pivoting and row interchanges. No cap. π«Ά
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. Iconic behavior, honestly. π
π Parameters π
NβNisINTEGER, and itβs the order of the matrixA. Main character dimension alert. π«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.
- On entry,
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.
- On entry,
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.
- On entry,
DU2βDU2isDOUBLE PRECISIONarray, dimension(N-2).- On exit,
DU2is overwritten by the(n-2)elements of the second super-diagonal ofU.
- On exit,
IPIVβIPIVisINTEGERarray, dimension(N), and itβs giving pivot indices realness. 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. Slay.< 0: ifINFO = -k, the k-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. β οΈ This is the βbestie, be carefulβ part, fr fr.
π 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.
okay thatβs the whole LAPACK Version 3.12.0 page for SRC/dgttrf.f(3) β bye bestie, go factor something cute! πβ¨π¦
π¦ 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