CGTRFS(3)
π¦ cgtrfs.f(3) β Library Functions Manual
okay so this page is from the Library Functions Manual, and it's literally all about CGTRFS doing its tridiagonal linear-system glow-up. bestie, it's giving numerical refinement with receipts π
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/cgtrfs.f
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine CGTRFS (trans, n, nrhs, dl, d, du, dlf, df, duf, du2, ipiv,
b, ldb, x, ldx, ferr, berr, work, rwork, info)
CGTRFS
π Function/Subroutine Documentation π
subroutine CGTRFS (character trans, integer n, integer nrhs, complex,
dimension( * ) dl, complex, dimension( * ) d, complex, dimension( * )
du, complex, dimension( * ) dlf, complex, dimension( * ) df, complex,
dimension( * ) duf, complex, dimension( * ) du2, integer, dimension( * )
ipiv, complex, dimension( ldb, * ) b, integer ldb, complex, dimension(
ldx, * ) x, integer ldx, real, dimension( * ) ferr, real, dimension( * )
berr, complex, dimension( * ) work, real, dimension( * ) rwork, integer
info)
CGTRFS
π― Purpose
CGTRFS 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. no cap, it's out here making your solution more accurate and then handing you the receipts β¨
π§Ύ 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). π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βCOMPLEX array, dimension (N-1). The(n-1)subdiagonal elements ofA.DβCOMPLEX array, dimension (N). The diagonal elements ofA.DUβCOMPLEX array, dimension (N-1). The(n-1)superdiagonal elements ofA.DLFβCOMPLEX array, dimension (N-1). The(n-1)multipliers that define the matrixLfrom the LU factorization ofAas computed byCGTTRF.DFβCOMPLEX array, dimension (N). Thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUFβCOMPLEX array, dimension (N-1). The(n-1)elements of the first superdiagonal ofU.DU2βCOMPLEX array, dimension (N-2). The(n-2)elements of the second superdiagonal ofU.IPIVβ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. π«ΆBβCOMPLEX array, dimension (LDB,NRHS). The right hand side matrixB.LDBβINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).XβCOMPLEX array, dimension (LDX,NRHS). On entry, the solution matrixX, as computed byCGTTRS. On exit, the improved solution matrixX. main character energy honestly π₯LDXβINTEGER. The leading dimension of the arrayX.LDX >= max(1,N).FERRβREAL array, 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βREAL array, 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βCOMPLEX array, dimension (2*N).RWORKβREAL array, 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. periodt.
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 207 of file cgtrfs.f.
π«Ά Author
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page β signing off from LAPACK Version 3.12.0 at /home/abui...RC/cgtrfs.f(3) (the footer doesn't show a date, so that's all the footer tea π
).
π¦ 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