/home/abui...RC/sgtsv.f(3)
π NAME π
okay bestie, this is the Library Functions Manual page for /home/abui...RC/sgtsv.f(3) β and it's all about /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgtsv.f β¨ This one is literally the SGTSV moment: it computes the solution to a system of linear equations A * X = B for GT matrices. No cap. π
π SYNOPSIS π
π§ Functions/Subroutines π§
subroutine SGTSV (n, nrhs, dl, d, du, b, ldb, info)
SGTSV computes the solution to system of linear equations A * X = B
for GT matrices
π¦ Function/Subroutine Documentation π¦
okay so here's the full signature, bestie β copy it exactly, don't be quirky with it:
subroutine SGTSV (integer n, integer nrhs, real, dimension( * ) dl, real,
dimension( * ) d, real, dimension( * ) du, real, dimension( ldb, * ) b,
integer ldb, integer info)
SGTSV computes the solution to system of linear equations A * X = B for
GT matrices
SGTSV computes the solution to a system of linear equations A * X = B for GT matrices. iconic behavior, honestly π.
π Purpose π
SGTSV solves the equation
A*X = B,
where A is an n by n tridiagonal matrix, by Gaussian elimination with partial pivoting.
Note that the equation A**T*X = B may be solved by interchanging the order of the arguments DU and DL. iykyk π
π Parameters π
NβNis INTEGER. The order of the matrixA.N >= 0.NRHSβNRHSis INTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.DLβDLis REAL array, dimension(N-1). On entry,DLmust contain the(n-1)sub-diagonal elements ofA.
On exit, DL is overwritten by the (n-2) elements of the second super-diagonal of the upper triangular matrix U from the LU factorization of A, in DL(1), ..., DL(n-2).
DβDis REAL array, dimension(N). On entry,Dmust contain the diagonal elements ofA.
On exit, D is overwritten by the n diagonal elements of U.
DUβDUis 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.
BβBis REAL array, dimension(LDB,NRHS). On entry, theNbyNRHSmatrix of right hand side matrixB.
On exit, if INFO = 0, the N by NRHS solution matrix X.
LDBβLDBis INTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFOis INTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value> 0: ifINFO = i,U(i,i)is exactly zero, and the solution has not been computed. The factorization has not been completed unlessi = N.
bestie, when INFO > 0 the solution has not been computed β that's not a vibe, that's a whole warning π please read it.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 126 of file sgtsv.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page! π This one is from LAPACK Version 3.12.0, page /home/abui...RC/sgtsv.f(3) β mwah, bye! π«Άβ¨
π¦ 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