SRC/sgbcon.f(3)
β¨ NAME β¨
okay so this page is SRC/sgbcon.f, straight out of the Library Functions Manual β and itβs all about the SGBCON subroutine, bestie. π
πΈ SYNOPSIS πΈ
π§ Functions/Subroutines
subroutine sgbcon (norm, n, kl, ku, ab, ldab, ipiv, anorm, rcond, work,
iwork, info)
SGBCON
π οΈ Function/Subroutine Documentation π οΈ
π SGBCON π
subroutine sgbcon (character norm, integer n, integer kl, integer ku, real,
dimension( ldab, * ) ab, integer ldab, integer, dimension( * ) ipiv,
real anorm, real rcond, real, dimension( * ) work, integer, dimension( *
) iwork, integer info)
SGBCON
π Purpose
so hereβs the vibe: SGBCON estimates the reciprocal of the condition number of a real general band matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by SGBTRF.
An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
π§Ύ Parameters
NORMβNORMisCHARACTER*1. It says whether you want the 1-norm condition number or the infinity-norm condition number:= '1' or 'O':1-norm;= 'I':Infinity-norm.
NβNisINTEGER. The order of the matrixA.N >= 0.KLβKLisINTEGER. The number of subdiagonals within the band ofA.KL >= 0.KUβKUisINTEGER. The number of superdiagonals within the band ofA.KU >= 0.ABβABisREALarray, dimension(LDAB,N). It holds details of the LU factorization of the band matrixA, as computed bySGBTRF.Uis stored as an upper triangular band matrix withKL+KUsuperdiagonals in rows1toKL+KU+1, and the multipliers used during the factorization are stored in rowsKL+KU+2to2*KL+KU+1.LDABβLDABisINTEGER. The leading dimension of the arrayAB.LDAB >= 2*KL+KU+1.IPIVβIPIVisINTEGERarray, dimension(N). The pivot indices; for1 <= i <= N, rowiof the matrix was interchanged with rowIPIV(i).ANORMβANORMisREAL. IfNORM = '1'or'O', this is the 1-norm of the original matrixA. IfNORM = 'I', this is the infinity-norm of the original matrixA.RCONDβRCONDisREAL. The reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβWORKisREALarray, dimension(3*N).IWORKβIWORKisINTEGERarray, dimension(N).INFOβINFOisINTEGER.= 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 sgbcon.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
and thatβs the whole page, bestie π The footer says LAPACK, Version 3.12.0, and SRC/sgbcon.f(3) β and no separate date is listed. Bye! π
π¦ 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