TESTING/LIN/ztrt06.f(3)
πΈ NAME πΈ
Welcome to the Library Functions Manual page for TESTING/LIN/ztrt06.f(3). TESTING/LIN/ztrt06.f β okay bestie, this is the file page for the ztrt06 subroutine. It's a LAPACK testing routine that compares condition-number estimates for a triangular matrix, and it's lowkey iconic in a "I live in TESTING/LIN" way. π
β¨ SYNOPSIS β¨
π§Έ Functions/Subroutines π§Έ
subroutine ztrt06 (rcond, rcondc, uplo, diag, n, a, lda, rwork, rat)
ZTRT06
π Function/Subroutine Documentation π
subroutine ztrt06 (double precision rcond, double precision rcondc,
character uplo, character diag, integer n, complex*16, dimension( lda, *
) a, integer lda, double precision, dimension( * ) rwork, double
precision rat)
ZTRT06
π‘ Purpose π‘
ZTRT06 computes a test ratio comparing RCOND (the reciprocal condition number of a triangular matrix A) and RCONDC, the estimate computed by ZTRCON. 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. π«Ά
π§Ύ Parameters π§Ύ
RCONDβDOUBLE PRECISION. This is the estimate of the reciprocal condition number you get by forming the explicit inverse of matrixAand computingRCOND = 1/( norm(A) * norm(inv(A)) ). Slay. πRCONDCβDOUBLE PRECISION. This is the estimate of the reciprocal condition number computed byZTRCON. That's the other estimate in the group chat. β¨UPLOβCHARACTER. Specifies whether matrixAis upper or lower triangular:'U'means upper triangular;'L'means lower triangular. Pick your triangle era. πDIAGβCHARACTER. Specifies whether or not matrixAis unit triangular:'N'means non-unit triangular;'U'means unit triangular. No cap. πNβINTEGER. The order of matrixA. Condition:N >= 0. π¦AβCOMPLEX*16 array, dimension (LDA,N). This is the triangular matrixA. IfUPLO = '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. IfUPLO = '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. IfDIAG = 'U', the diagonal elements ofAare also not referenced and are assumed to be 1. Read that twice, bestie β the unreferenced parts really do not get read. πLDAβINTEGER. The leading dimension of arrayA. Condition:LDA >= max(1,N). πRWORKβDOUBLE PRECISION array, dimension (N). Just the array spec, no extra lore. πRATβDOUBLE PRECISION. The test ratio. If bothRCONDandRCONDCare nonzero, thenRAT = MAX( RCOND, RCONDC )/MIN( RCOND, RCONDC ) - 1.IfRAT = 0, the two estimates are exactly the same. Zero means they matched exactly β periodt. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 120 of file ztrt06.f. β
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π«Ά
mwah π β this page is from LAPACK Version 3.12.0 and it's the TESTING/LIN/ztrt06.f(3) manual page. Catch you in the next condition-number comparison, 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