TESTING/LIN/ztpt06.f(3)
π NAME π
TESTING/LIN/ztpt06.f β that's the name, bestie, and yes, the whole page is lowkey about this one file. π
Okay so this is the TESTING/LIN/ztpt06.f(3) page, and the manual name is Library Functions Manual β folded in right here because we're not doing a boring header copy-paste. π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ztpt06 (rcond, rcondc, uplo, diag, n, ap, rwork, rat)βZTPT06
π¦ Function/Subroutine Documentation π¦
subroutine ztpt06 (double precision rcond, double precision rcondc,
character uplo, character diag, integer n, complex*16, dimension( * )
ap, double precision, dimension( * ) rwork, double precision rat)
ZTPT06
π Purpose π
Okay so here's the vibe: ZTPT06 computes a test ratio that compares RCOND β the reciprocal condition number of the triangular matrix A β with RCONDC, which is the estimate computed by ZTPCON. It's giving "are these two numbers actually matching?" energy. π₯
Information about the triangular matrix gets used when one estimate is zero and the other is non-zero, so the routine can decide if underflow in the estimate is justified. No cap, that's the whole purpose. β¨
πΈ Parameters πΈ
RCONDβRCONDisDOUBLE PRECISION. It's the estimate of the reciprocal condition number obtained by forming the explicit inverse of matrixAand computingRCOND = 1/( norm(A) * norm(inv(A)) ). πRCONDCβRCONDCisDOUBLE PRECISION. It's the estimate of the reciprocal condition number computed byZTPCON. π¦UPLOβUPLOisCHARACTER. Tells you whether matrixAis upper or lower triangular:= 'U': Upper triangular,= 'L': Lower triangular. πΈDIAGβDIAGisCHARACTER. Tells you whether matrixAis unit triangular or not:= 'N': Non-unit triangular,= 'U': Unit triangular. πNβNisINTEGER. The order of matrixA.N >= 0. βAPβAPisCOMPLEX*16array, dimension(N*(N+1)/2). This is 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((j-1)*j/2 + i) = A(i,j) for 1<=i<=j;
if UPLO = 'L',
AP((j-1)*(n-j) + j*(j+1)/2 + i-j) = A(i,j) for j<=i<=n.
RWORKβRWORKisDOUBLE PRECISIONarray, dimension(N). π§RATβRATisDOUBLE PRECISION. The test ratio. If bothRCONDandRCONDCare nonzero, thenRAT = MAX( RCOND, RCONDC )/MIN( RCOND, RCONDC ) - 1.IfRAT = 0, the two estimates are exactly the same. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 111 of file ztpt06.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay bestie, footer sign-off time: this is from LAPACK, Version 3.12.0, and the page tag is TESTING/LIN/ztpt06.f(3). The footer doesn't print a separate date, so I'm not making one up β that would be fake news, and we don't do that here. πβ¨π
π¦ 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