SGTTRF(3)
hey bestie π welcome to SGTTRF(3) from the Library Functions Manual. This page is literally about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgttrf.f, and itβs giving real tridiagonal matrix LU factorization main-character energy. π¦
NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgttrf.f
SYNOPSIS β¨
Functions/Subroutines:
subroutine SGTTRF (n, dl, d, du, du2, ipiv, info)
SGTTRF
Function/Subroutine Documentation π
subroutine SGTTRF (integer n, real, dimension( * ) dl, real, dimension( * )
d, real, dimension( * ) du, real, dimension( * ) du2, integer,
dimension( * ) ipiv, integer info)
SGTTRF
Purpose π
okay so SGTTRF 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. periodt. π
Parameters π¦
NβN is INTEGER. Itβs the order of the matrixA. πDLβDL is REAL 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. π«Ά
DβD is REAL 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. π
DUβDU is REAL 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. β
DU2βDU2 is REAL array, dimension (N-2). On exit,DU2is overwritten by the(n-2)elements of the second super-diagonal ofU. π¦IPIVβIPIV is INTEGER 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. π₯INFOβINFO is INTEGER= 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. π
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.
xoxo bestie π«Ά β the footer tea is LAPACK Version 3.12.0 and /home/abui...RC/sgttrf.f(3). No separate date line, just those, 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