SRC/stpcon.f(3)
β¨ NAME β¨
SRC/stpcon.f β thatβs the page name, bestie, and itβs living in the Library Functions Manual π
β¨ SYNOPSIS β¨
Functions/Subroutines π«Ά
subroutine stpcon (norm, uplo, diag, n, ap, rcond, work, iwork, info)β STPCON
subroutine stpcon (norm, uplo, diag, n, ap, rcond, work, iwork, info)
β¨ Function/Subroutine Documentation β¨
subroutine stpcon (character norm, character uplo, character diag, integer
n, real, dimension( * ) ap, real rcond, real, dimension( * ) work,
integer, dimension( * ) iwork, integer info)
STPCON β¨
β¨ Purpose β¨
Okay so STPCON estimates the reciprocal of the condition number of a packed triangular matrix A, in either the 1-norm or the infinity-norm β no cap π§
The norm of A is computed and an estimate is obtained for norm(inv(A)), then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
β¨ Parameters β¨
NORMβCHARACTER*1β tells us whether the 1-norm condition number or the infinity-norm condition number is required:= '1'or'O': 1-norm;= 'I': Infinity-norm.
UPLOβCHARACTER*1β which triangle ofAweβre working with:= 'U':Ais upper triangular;= 'L':Ais lower triangular.
DIAGβCHARACTER*1β unit or non-unit diagonal vibe check:= 'N':Ais non-unit triangular;= 'U':Ais unit triangular.
NβINTEGERβ the order of the matrixA.N >= 0.APβREAL array, dimension (N*(N+1)/2)β the upper or lower triangular matrixA, packed columnwise in a linear array. Thej-th column ofAis stored in the arrayAPas follows:- if
UPLO = 'U',AP(i + (j-1)*j/2) = A(i,j)for1<=i<=j; - if
UPLO = 'L',AP(i + (j-1)*(2n-j)/2) = A(i,j)forj<=i<=n. - If
DIAG = 'U', the diagonal elements ofAare not referenced and are assumed to be1.
- if
RCONDβREALβ the reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))).WORKβREAL array, dimension (3*N).IWORKβINTEGER array, dimension (N).INFOβINTEGERβ the exit-status bestie:= 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 β¨
Definition at line 128 of file stpcon.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
mwah π cute little sign-off: this page is from LAPACK, Version 3.12.0, and youβre reading SRC/stpcon.f(3) β periodt, bestie π«Ά
π¦ 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