SRC/sgttrf.f(3)
π SRC/sgttrf.f π
okay bestie, this page is from the Library Functions Manual, and it's all about SGTTRF β the tridiagonal LU factorization girlie. every flag, array, and βwhat happens on exitβ detail is down below, no cap π
πΈ NAME πΈ
SRC/sgttrf.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine sgttrf (n, dl, d, du, du2, ipiv, info)
SGTTRF
π Function/Subroutine Documentation π
π«Ά subroutine sgttrf π«Ά
subroutine sgttrf (integer n, real, dimension( * ) dl, real, dimension( * )
d, real, dimension( * ) du, real, dimension( * ) du2, integer,
dimension( * ) ipiv, integer info)
SGTTRF
π¦ Purpose π¦
SGTTRF computes an LU factorization of a real tridiagonal matrix A using elimination with partial pivoting and row interchanges. periodt.
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. the order of the matrixA.DLβDLisREAL array, dimension (N-1). on entry,DLmust contain the(n-1)sub-diagonal elements ofA.
on exit, DL is overwritten by the (n-1) multipliers that define the matrix L from the LU factorization of A. she gets a whole new identity, lowkey.
DβDisREAL array, dimension (N). on entry,Dmust contain the diagonal elements ofA.
on exit, D is overwritten by the n diagonal elements of the upper triangular matrix U from the LU factorization of A. slay.
DUβDUisREAL array, dimension (N-1). on entry,DUmust contain the(n-1)super-diagonal elements ofA.
on exit, DU is overwritten by the (n-1) elements of the first super-diagonal of U. main character energy.
DU2βDU2isREAL array, dimension (N-2). on exit,DU2is overwritten by the(n-2)elements of the second super-diagonal ofU.IPIVβIPIVisINTEGER array, 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. very βknow your row-swap receiptsβ of it.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. this is the βbestie, do NOT divide by zeroβ warning fr fr π
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 123 of file sgttrf.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie π«Άβ¨ this cutie was brought to you by LAPACK, Version 3.12.0, and the source is SRC/sgttrf.f(3) πππ¦
π¦ 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