TESTING/LIN/stbt02.f(3)
๐ NAME ๐
TESTING/LIN/stbt02.f โ okay so this page is from the Library Functions Manual, and it's literally the manual page for the stbt02 subroutine. It's giving linear algebra energy, and we're obsessed. ๐
โจ SYNOPSIS โจ
Functions/Subroutines โ the whole synopsis vibe is:
subroutine stbt02 (uplo, trans, diag, n, kd, nrhs, ab, ldab, x, ldx, b,
ldb, work, resid)
STBT02
๐ Function/Subroutine Documentation ๐
subroutine stbt02 (character uplo, character trans, character diag, integer
n, integer kd, integer nrhs, real, dimension( ldab, * ) ab, integer
ldab, real, dimension( ldx, * ) x, integer ldx, real, dimension( ldb, *
) b, integer ldb, real, dimension( * ) work, real resid)
STBT02
๐งฎ Purpose ๐งฎ
Okay so STBT02 computes the residual for the computed solution to a triangular system of linear equations op(A)*X = B, when A is a triangular band matrix. The test ratio is the maximum over
norm(b - op(A)*x) / ( ||op(A)||_1 * norm(x) * EPS ),
where op(A) = A or A**T, b is the column of B, x is the solution vector, and EPS is the machine epsilon.
The norm used is the 1-norm. Slay. โจ
๐ Parameters ๐
UPLOโCHARACTER*1; specifies whether the matrixAis upper or lower triangular.= 'U': Upper triangular;= 'L': Lower triangular.TRANSโCHARACTER*1; specifies the operation applied toA.= 'N':A * X = B (No transpose);= 'T':A**T * X = B (Transpose);= 'C':A**H * X = B (Conjugate transpose = Transpose).DIAGโCHARACTER*1; specifies whether or not the matrixAis unit triangular.= 'N': Non-unit triangular;= 'U': Unit triangular.NโINTEGER; the order of the matrixA.N >= 0.KDโINTEGER; the number of superdiagonals or subdiagonals of the triangular band matrixA.KD >= 0.NRHSโINTEGER; the number of right hand sides, i.e., the number of columns of the matricesXandB.NRHS >= 0.ABโREAL array, dimension (LDAB,N); the upper or lower triangular band matrixA, stored in the firstkd+1rows of the array. The j-th column ofAis stored in the j-th column of the arrayABas follows: ifUPLO = 'U',AB(kd+1+i-j,j) = A(i,j)formax(1,j-kd)<=i<=j; ifUPLO = 'L',AB(1+i-j,j) = A(i,j)forj<=i<=min(n,j+kd).LDABโINTEGER; the leading dimension of the arrayAB.LDAB >= KD+1.XโREAL array, dimension (LDX,NRHS); the computed solution vectors for the system of linear equations.LDXโINTEGER; the leading dimension of the arrayX.LDX >= max(1,N).BโREAL array, dimension (LDB,NRHS); the right hand side vectors for the system of linear equations.LDBโINTEGER; the leading dimension of the arrayB.LDB >= max(1,N).WORKโREAL array, dimension (N).RESIDโREAL; the maximum over the number of right hand sides ofnorm(op(A)*x - b) / ( norm(op(A)) * norm(x) * EPS ).
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 152 of file stbt02.f.
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
byeee bestie ๐ซถ the footer info is LAPACK, Version 3.12.0, and TESTING/LIN/stbt02.f(3) โ source/version/page id, periodt. ๐
โจ
๐ฆ 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