STRT06(3)
π STRT06(3) β like, the LAPACK testing one, from the Library Functions Manual π
okay so bestie. this page is literally just one tiny Fortran subroutine that does vibe checks on condition-number estimates, and honestly? it ate. let's get into it β¨
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/strt06.f
yep that's the whole name, it's giving "my professor named the file after the entire filesystem" π no cap, that's the path, that's the file, that's the girl.
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine STRT06 (rcond, rcondc, uplo, diag, n, a, lda, work, rat)
STRT06 β that's her. main character energy tbh π
π Function/Subroutine Documentation π
subroutine STRT06 (real rcond, real rcondc, character uplo, character diag,
integer n, real, dimension( lda, * ) a, integer lda, real, dimension( *
) work, real rat)
STRT06 β again, iconic, we love a repeat appearance π
β¨ Purpose β¨
!>
!> STRT06 computes a test ratio comparing RCOND (the reciprocal
!> condition number of a triangular matrix A) and RCONDC, the estimate
!> computed by STRCON. Information about the triangular matrix A is
!> used if one estimate is zero and the other is non-zero to decide if
!> underflow in the estimate is justified.
!>
so real talk: STRT06 computes a test ratio that compares RCOND β the reciprocal condition number of a triangular matrix A β against RCONDC, which is the estimate that STRCON computed. and here's the cute part π«Ά: if one of those estimates is zero and the other one isn't, it peeks at the info about the triangular matrix A to decide whether that underflow in the estimate is actually justified. detective work, honestly π
π Parameters π
RCONDβRCONDisREAL. it's the estimate of the reciprocal condition number you get by forming the explicit inverse of the matrixAand computingRCOND = 1/( norm(A) * norm(inv(A)) ). yes, the whole explicit-inverse situation. she did the math πRCONDCβRCONDCisREAL. the estimate of the reciprocal condition number computed bySTRCON. that's it, that's the girl πΈUPLOβUPLOisCHARACTER. tells us whether the matrixAis upper or lower triangular. options are:= 'U': Upper triangular= 'L': Lower triangular
DIAGβDIAGisCHARACTER. says whether or not the matrixAis unit triangular:= 'N': Non-unit triangular= 'U': Unit triangular
NβNisINTEGER. the order of the matrixA. andN >= 0, no funny business πAβAisREAL array, dimension (LDA,N). it's the triangular matrixAitself. and here's the tea:- if
UPLO = 'U', the leading n by n upper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. - if
UPLO = 'L', the leading n by n lower triangular part of the arrayAcontains the lower triangular matrix, and the strictly upper triangular part ofAis not referenced. - if
DIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be 1. assumed!! we don't even look at them, we just trust π«‘
- if
LDAβLDAisINTEGER. the leading dimension of the arrayA. andLDA >= max(1,N). respect the bound fr frWORKβWORKisREAL array, dimension (N). just a lil workspace, nothing dramatic πRATβRATisREAL. THE test ratio, the whole point of the function, the moment π. if bothRCONDandRCONDCare nonzero:
RAT = MAX( RCOND, RCONDC )/MIN( RCOND, RCONDC ) - 1.
and if RAT = 0, that means the two estimates are exactly the same. twin flames. identical. zero difference. slay π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
and the definition is at line 119 of file strt06.f β go look, she's right there π§
β Author β
Generated automatically by Doxygen for LAPACK from the source code. so nobody hand-wrote this one, the machine did it and honestly the machine understood the assignment π β¨
okay that's the whole page bestie, you're officially caught up π«Ά and yes, we're closing out with the official sign-off: this whole thing is LAPACK, Version 3.12.0, and the footer girlie herself is /home/abui...IN/strt06.f(3) β an abbreviated little icon, we stan a mysterious path ππ see you in the next manpage, mwah π
π¦ 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