SRC/cgttrs.f(3)
π NAME π
hey bestie π welcome to the Library Functions Manual page for SRC/cgttrs.f β yes, the whole NAME section is literally just that: SRC/cgttrs.f. This is LAPACK business, and CGTTRS is the main character. π«Ά
β¨ SYNOPSIS β¨
π«Ά Functions/Subroutines π«Ά
subroutine cgttrs (trans, n, nrhs, dl, d, du, du2, ipiv, b, ldb, info)
CGTTRS
π Function/Subroutine Documentation π
π subroutine cgttrs π
subroutine cgttrs (character trans, integer n, integer nrhs, complex,
dimension( * ) dl, complex, dimension( * ) d, complex, dimension( * )
du, complex, dimension( * ) du2, integer, dimension( * ) ipiv, complex,
dimension( ldb, * ) b, integer ldb, integer info)
CGTTRS
πΈ Purpose πΈ
okay so bestie, CGTTRS solves one of these 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 CGTTRF. Thatβs the whole assignment, and it ate. π
π Parameters π
π TRANS π
TRANS is CHARACTER*1. It specifies the form of the system of equations.
= 'N': A * X = B (No transpose)= 'T': A**T * X = B (Transpose)= 'C': A**H * X = B (Conjugate 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 COMPLEX array, dimension (N-1). The (n-1) multipliers that define the matrix L from the LU factorization of A.
π D π
D is COMPLEX array, dimension (N). The n diagonal elements of the upper triangular matrix U from the LU factorization of A.
π§ DU π§
DU is COMPLEX array, dimension (N-1). The (n-1) elements of the first super-diagonal of U.
πΈ DU2 πΈ
DU2 is COMPLEX 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; for 1 <= i <= n, row i of the matrix was interchanged with row IPIV(i). IPIV(i) will always be either i or i+1; IPIV(i) = i indicates a row interchange was not required.
π B π
B is COMPLEX 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: ifINFO = -k, the k-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 cgttrs.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code. β¨
later, bestie π«Ά this cutie is from LAPACK Version 3.12.0, page SRC/cgttrs.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