DGTT01(3)
π DGTT01(3) π
okay bestie, welcome to the LAPACK Library Functions Manual β this page is all about DGTT01 and it came from the dgtt01.f(3) source page. β¨ No cap, we're getting into tridiagonal LU reconstruction and residual math. π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dgtt01.f
π SYNOPSIS π
β¨ Functions/Subroutines β¨
subroutine DGTT01 (n, dl, d, du, dlf, df, duf, du2, ipiv, work, ldwork,
rwork, resid)
DGTT01
π¦ Function/Subroutine Documentation π¦
Here's the full signature, character-for-character, because she is iconic:
subroutine DGTT01 (integer n, double precision, dimension( * ) dl, double
precision, dimension( * ) d, double precision, dimension( * ) du, double
precision, dimension( * ) dlf, double precision, dimension( * ) df,
double precision, dimension( * ) duf, double precision, dimension( * )
du2, integer, dimension( * ) ipiv, double precision, dimension( ldwork,
* ) work, integer ldwork, double precision, dimension( * ) rwork, double
precision resid)
DGTT01
π Purpose π
DGTT01 reconstructs a tridiagonal matrix A from its LU factorization and computes the residual
norm(L*U - A) / ( norm(A) * EPS ),
where EPS is the machine epsilon. Obsessed with a clean residual check. π
π Parameters π
NβN is INTEGER; the order of the matrixA.N >= 0. π«ΆDLβDL is DOUBLE PRECISION array, dimension (N-1); the(n-1)sub-diagonal elements ofA. πΈDβD is DOUBLE PRECISION array, dimension (N); the diagonal elements ofA. π«DUβDU is DOUBLE PRECISION array, dimension (N-1); the(n-1)super-diagonal elements ofA. π¦DLFβDLF is DOUBLE PRECISION array, dimension (N-1); the(n-1)multipliers that define the matrixLfrom the LU factorization ofA. πDFβDF is DOUBLE PRECISION array, dimension (N); thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA. πDUFβDUF is DOUBLE PRECISION array, dimension (N-1); the(n-1)elements of the first super-diagonal ofU. πDU2βDU2 is DOUBLE PRECISION array, dimension (N-2); the(n-2)elements of the second super-diagonal ofU. βIPIVβIPIV is 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. πWORKβWORK is DOUBLE PRECISION array, dimension (LDWORK,N). π§LDWORKβLDWORK is INTEGER; the leading dimension of the arrayWORK.LDWORK >= max(1,N). πRWORKβRWORK is DOUBLE PRECISION array, dimension (N). πRESIDβRESID is DOUBLE PRECISION; the scaled residual:norm(L*U - A) / (norm(A) * EPS). π₯
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 132 of file dgtt01.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π
k bye bestie! The footer says LAPACK, Version 3.12.0, and the path /home/abui...IN/dgtt01.f(3). ππβ¨
π¦ 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