SGTT01(3)
πΈ NAME πΈ
okay bestie, this is SGTT01(3) from the Library Functions Manual β and the header path-y bit is /home/abui...IN/sgtt01.f(3). The NAME section is literally this file, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/sgtt01.fβ that's the whole NAME vibe. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
Here's the subroutine, bestie β say it with me:
subroutine SGTT01 (n, dl, d, du, dlf, df, duf, du2, ipiv, work, ldwork,
rwork, resid)
SGTT01
π Function/Subroutine Documentation π
This one is giving SGTT01 main character energy. Full signature, exactly as it appears:
subroutine SGTT01 (integer n, real, dimension( * ) dl, real, dimension( * )
d, real, dimension( * ) du, real, dimension( * ) dlf, real, dimension( *
) df, real, dimension( * ) duf, real, dimension( * ) du2, integer,
dimension( * ) ipiv, real, dimension( ldwork, * ) work, integer ldwork,
real, dimension( * ) rwork, real resid)
SGTT01
π― Purpose π―
SGTT01 reconstructs a tridiagonal matrix A from its LU factorization, then computes the residual:
norm(L*U - A) / ( norm(A) * EPS ),
where EPS is the machine epsilon. That's the whole purpose, periodt. π
π§Ύ Parameters π§Ύ
π N π
N is an INTEGER. It's the order of the matrix A, and bestie, N >= 0. π
π DL π
DL is a REAL array, dimension (N-1). It holds the (n-1) sub-diagonal elements of A.
πΈ D πΈ
D is a REAL array, dimension (N). It holds the diagonal elements of A.
π¦ DU π¦
DU is a REAL array, dimension (N-1). It holds the (n-1) super-diagonal elements of A.
π DLF π
DLF is a REAL array, dimension (N-1). It holds the (n-1) multipliers that define the matrix L from the LU factorization of A.
β¨ DF β¨
DF is a REAL array, dimension (N). It holds the n diagonal elements of the upper triangular matrix U from the LU factorization of A.
π DUF π
DUF is a REAL array, dimension (N-1). It holds the (n-1) elements of the first super-diagonal of U.
π DU2 π
DU2 is a REAL array, dimension (N-2). It holds the (n-2) elements of the second super-diagonal of U.
π IPIV π
IPIV is an INTEGER array, dimension (N). These are 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. (iykyk pivot tea β)
π§ WORK π§
WORK is a REAL array, dimension (LDWORK,N).
π₯ LDWORK π₯
LDWORK is an INTEGER. It's the leading dimension of the array WORK, and LDWORK >= max(1,N). Important, bestie.
β RWORK β
RWORK is a REAL array, dimension (N).
π RESID π
RESID is a REAL. It's the scaled residual: norm(L*U - A) / (norm(A) * EPS). The math is mathing. π«Ά
π Author π
Univ. of TennesseeUniv. of California BerkeleyUniv. of Colorado DenverNAG Ltd.
π Definition at line 132 of file sgtt01.f π
Definition at line 132 of file sgtt01.f.
β¨ Author β¨
This page was generated automatically by Doxygen for LAPACK from the source code β very demure, very automated. π
bye bestie π«Ά β footer vibes are LAPACK Version 3.12.0 and /home/abui...IN/sgtt01.f(3). Mwah π
π¦ 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