SRC/zgtts2.f(3)
πΈ NAME πΈ
SRC/zgtts2.f β hey bestie, this is the page for that one, straight outta the Library Functions Manual π«Ά.
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zgtts2 (itrans, n, nrhs, dl, d, du, du2, ipiv, b, ldb)βZGTTS2solves a system of linear equations with a tridiagonal matrix using the LU factorization computed bysgttrf. (Yep,sgttrfexactly as written in the synopsis β keeping the lore intact π .)
π Function/Subroutine Documentation π
subroutine zgtts2 (integer itrans, integer n, integer nrhs, complex*16, dimension( * ) dl, complex*16, dimension( * ) d, complex*16, dimension( * ) du, complex*16, dimension( * ) du2, integer, dimension( * ) ipiv, complex*16, dimension( ldb, * ) b, integer ldb)
ZGTTS2 solves a system of linear equations with a tridiagonal matrix using the LU factorization computed by sgttrf.
π Purpose π
ZGTTS2 solves one of the systems of equations A * X = B, A**T * X = B, or A**H * X = B, with a tridiagonal matrix A using the LU factorization computed by ZGTTRF. That's the whole mood β¨.
π Parameters π
ITRANSβINTEGER. Specifies the form of the system of equations:= 0:A * X = B(No transpose)= 1:A**T * X = B(Transpose)= 2:A**H * X = B(Conjugate transpose)
NβINTEGER. The order of the matrixA.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.DLβCOMPLEX*16 array, dimension (N-1). The(n-1)multipliers that define the matrixLfrom the LU factorization ofA.DβCOMPLEX*16 array, dimension (N). Thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUβCOMPLEX*16 array, dimension (N-1). The(n-1)elements of the first super-diagonal ofU.DU2βCOMPLEX*16 array, dimension (N-2). The(n-2)elements of the second super-diagonal ofU.IPIVβ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.BβCOMPLEX*16 array, dimension (LDB,NRHS). On entry, the matrix of right hand side vectorsB. On exit,Bis overwritten by the solution vectorsX.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 127 of file zgtts2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole page, bestie π β LAPACK, Version 3.12.0, SRC/zgtts2.f(3). (No extra date line in the original, so I'm 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