SRC/dgttrs.f(3)
π SRC/dgttrs.f(3) π
okay bestie, welcome to SRC/dgttrs.f(3) from the Library Functions Manual β today's main character is DGTTRS, and she is all about solving tridiagonal systems after DGTTRF already did the LU factorization. no cap, let's get into it π«Ά
π NAME π
SRC/dgttrs.f β that's it, that's the NAME section. minimalist icon behavior π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine dgttrs (trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)βDGTTRS
π¦ Function/Subroutine Documentation π¦
here's the full signature, bestie, copied exactly so nobody comes for us:
subroutine dgttrs (character trans, integer n, integer nrhs, double
precision, dimension( * ) dl, double precision, dimension( * ) d, double
precision, dimension( * ) du, double precision, dimension( * ) du2,
integer, dimension( * ) ipiv, double precision, dimension( ldb, * ) b,
integer ldb, integer info)
and the name is DGTTRS, periodt π
π Purpose π
okay so DGTTRS solves one of the systems of equations:
A*X = B or A**T*X = B,
with a tridiagonal matrix A using the LU factorization computed by DGTTRF. that's the whole purpose, and she ate β¨
π Parameters π
TRANSβTRANS is CHARACTER*1; she specifies the form of the system of equations:= 'N': A * X = B (No transpose)= 'T': A**T* X = B (Transpose)= 'C': A**T* X = B (Conjugate transpose = Transpose)
NβN is INTEGER, the order of the matrix A.NRHSβNRHS is INTEGER, the number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.DLβDL is DOUBLE PRECISION array, dimension (N-1). The(n-1)multipliers that define the matrix L from the LU factorization of A.DβD is DOUBLE PRECISION array, dimension (N). The n diagonal elements of the upper triangular matrix U from the LU factorization of A.DUβDU is DOUBLE PRECISION array, dimension (N-1). The(n-1)elements of the first super-diagonal of U.DU2βDU2 is DOUBLE PRECISION array, dimension (N-2). The(n-2)elements of the second super-diagonal of U.IPIVβIPIV is INTEGER array, dimension (N). The pivot indices; for1 <= i <= n, row i of the matrix was interchanged with rowIPIV(i).IPIV(i)will always be either i or i+1;IPIV(i) = iindicates a row interchange was not required.BβB is DOUBLE PRECISION array, dimension (LDB,NRHS). On entry, the matrix of right hand side vectors B. On exit, B is overwritten by the solution vectors X.LDBβLDB is INTEGER. The leading dimension of the array B.LDB >= max(1,N).INFOβINFO is INTEGER:= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 136 of file dgttrs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the page! cute footer sign-off: source/version is LAPACK Version 3.12.0, page is SRC/dgttrs.f(3), and no separate date is printed in this footer, so we're not making one up πβ¨
π¦ 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