SGTCON(3)
π sgtcon.f(3) β Library Functions Manual π
Ok bestie, this is the sgtcon.f(3) page from the Library Functions Manual β LAPACK math incoming, but we're making it cute. β¨
π NAME π
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/sgtcon.f β the source file for SGTCON, periodt. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine SGTCON (norm, n, dl, d, du, du2, ipiv, anorm, rcond, work,
iwork, info)
SGTCON
π Function/Subroutine Documentation π
subroutine SGTCON
subroutine SGTCON (character norm, integer n, real, dimension( * ) dl, real,
dimension( * ) d, real, dimension( * ) du, real, dimension( * ) du2,
integer, dimension( * ) ipiv, real anorm, real rcond, real, dimension( *
) work, integer, dimension( * ) iwork, integer info)
SGTCON
Purpose
SGTCON estimates the reciprocal of the condition number of a real tridiagonal matrix A using the LU factorization as computed by SGTTRF. π«Ά
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
Parameters
NORMβNORM is CHARACTER*1. Specifies whether the 1-norm condition number or the infinity-norm condition number is required:= '1' or 'O': 1-norm;= 'I': Infinity-norm.
NβN is INTEGER. The order of the matrixA.N >= 0.DLβDL is REAL array, dimension (N-1). The(n-1)multipliers that define the matrixLfrom the LU factorization ofAas computed bySGTTRF.DβD is REAL array, dimension (N). Thendiagonal elements of the upper triangular matrixUfrom the LU factorization ofA.DUβDU is REAL array, dimension (N-1). The(n-1)elements of the first superdiagonal ofU.DU2βDU2 is REAL array, dimension (N-2). The(n-2)elements of the second superdiagonal 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.ANORMβANORM is REAL. IfNORM = '1'or'O', the 1-norm of the original matrixA. IfNORM = 'I', the infinity-norm of the original matrixA.RCONDβRCOND is REAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(ANORM * AINVNM), whereAINVNMis an estimate of the 1-norm ofinv(A)computed in this routine.WORKβWORK is REAL array, dimension (2*N).IWORKβIWORK is INTEGER array, dimension (N).INFOβINFO is INTEGER= 0: successful exit< 0: ifINFO = -i, thei-th argument had an illegal value
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 144 of file sgtcon.f.
πΈ Author πΈ
Generated automatically by Doxygen for LAPACK from the source code.
Final footer vibes, bestie: LAPACK Version 3.12.0, source path /home/abui...RC/sgtcon.f(3) β and that's the whole manual. π
β¨
π¦ 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