SGTRFS(3)
okay so bestie, you just opened the SGTRFS(3) page from the Library Functions Manual π β¨ β itβs giving LAPACK source-file energy, and weβre gonna walk through every single argument together. No cap.
π NAME π
The NAME is literally this file path, bestie:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgtrfs.f
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines πΈ
subroutine SGTRFS (trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv,
b, ldb, x, ldx, ferr, berr, work, iwork, info)
SGTRFS
π¦ Function/Subroutine Documentation π¦
π SGTRFS π
subroutine SGTRFS (character trans, integer n, integer nrhs, 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( ldb, * ) b, integer ldb, real, dimension( ldx, * ) x, integer
ldx, real, dimension( * ) ferr, real, dimension( * ) berr, real,
dimension( * ) work, integer, dimension( * ) iwork, integer info)
SGTRFS
π Purpose π
SGTRFS improves the computed solution to a system of linear equations when the coefficient matrix is tridiagonal, and provides error bounds and backward error estimates for the solution. Thatβs the whole serve, bestie β¨
π Parameters π
TRANSβCHARACTER*1. 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 = Transpose)
NβINTEGER. The order of the matrixA.N >= 0.NRHSβINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.DLβREALarray, dimension(N-1). The(n-1)subdiagonal elements ofA.DβREALarray, dimension(N). The diagonal elements ofA.DUβREALarray, dimension(N-1). The(n-1)superdiagonal elements ofA.DLFβREALarray, dimension(N-1). The(n-1)multipliers that define the matrixLfrom the LU factorization ofAas computed bySGTTRF.DFβREALarray, dimension(N). Thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUFβREALarray, dimension(N-1). The(n-1)elements of the first superdiagonal ofU.DU2βREALarray, dimension(N-2). The(n-2)elements of the second superdiagonal ofU.IPIVβINTEGERarray, 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βREALarray, dimension(LDB,NRHS). The right hand side matrixB.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβREALarray, dimension(LDX,NRHS). On entry, the solution matrixX, as computed bySGTTRS. On exit, the improved solution matrixX.LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).FERRβREALarray, dimension(NRHS). The estimated forward error bound for each solution vectorX(j)(thej-th column of the solution matrixX). IfXTRUEis the true solution corresponding toX(j),FERR(j)is an estimated upper bound for the magnitude of the largest element in(X(j) - XTRUE)divided by the magnitude of the largest element inX(j). The estimate is as reliable as the estimate forRCOND, and is almost always a slight overestimate of the true error.BERRβREALarray, dimension(NRHS). The componentwise relative backward error of each solution vectorX(j)(i.e., the smallest relative change in any element ofAorBthat makesX(j)an exact solution).WORKβREALarray, dimension(3*N).IWORKβINTEGERarray, dimension(N).INFOβINTEGER.= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
π§ Internal Parameters π§
ITMAX is the maximum number of steps of iterative refinement.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 206 of file sgtrfs.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole page, bestie β brought to you by LAPACK Version 3.12.0 and the page path /home/abui...RC/sgtrfs.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