DTRCON(3)
π NAME
okay bestie, welcome to DTRCON(3) from the Library Functions Manual π β this page is all about the file /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dtrcon.f, and honestly itβs giving βsmall but mighty LAPACK iconβ energy β¨.
β¨ SYNOPSIS
Functions/Subroutines
subroutine DTRCON (norm, uplo, diag, n, a, lda, rcond, work, iwork,
info)
and the main character is, of course, DTRCON π.
π¦ Function/Subroutine Documentation
subroutine DTRCON (character norm, character uplo, character diag, integer
n, double precision, dimension( lda, * ) a, integer lda, double
precision rcond, double precision, dimension( * ) work, integer,
dimension( * ) iwork, integer info)
DTRCON β say it with me β is the one estimating the reciprocal of the condition number of a triangular matrix A, in either the 1-norm or the infinity-norm π₯.
πΈ Purpose
Bestie, hereβs the whole vibe: DTRCON estimates the reciprocal of the condition number of a triangular matrix A, in either the 1-norm or the infinity-norm. The norm of A is computed, an estimate is obtained for norm(inv(A)), and then the reciprocal of the condition number is computed as:
RCOND = 1 / ( norm(A) * norm(inv(A)) ).
No cap, that formula is the moment π .
π«Ά Parameters
NORMβNORMisCHARACTER*1. It tells us whether the 1-norm condition number or the infinity-norm condition number is required:= '1' or 'O':1-norm;= 'I':Infinity-norm. Pick your fighter β¨.UPLOβUPLOisCHARACTER*1.= 'U':meansAis upper triangular;= 'L':meansAis lower triangular. Respect the triangle π.DIAGβDIAGisCHARACTER*1.= 'N':meansAis non-unit triangular;= 'U':meansAis unit triangular. We love a clear diag situation π.NβNisINTEGER. Itβs the order of the matrixA.N >= 0. Periodt.AβAisDOUBLE PRECISION array, dimension (LDA,N). Itβs the triangular matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part of the arrayAcontains the upper triangular matrix, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower 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 be1. Iconic behavior, lowkey π¦.LDAβLDAisINTEGER. Itβs the leading dimension of the arrayA.LDA >= max(1,N). Do not play with this one π.RCONDβRCONDisDOUBLE PRECISION. Itβs the reciprocal of the condition number of the matrixA, computed asRCOND = 1/(norm(A) * norm(inv(A))). Thatβs the whole point, fr fr π .WORKβWORKisDOUBLE PRECISION array, dimension (3*N). Itβs workspace. Give it room to breathe π«Ά.IWORKβIWORKisINTEGER array, dimension (N). More workspace, but make it integer energy β¨.INFOβINFOisINTEGER.= 0:successful exit;< 0:ifINFO = -i, thei-th argument had an illegal value. So ifINFOis negative, something in the argument lineup was not slaying π.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 135 of file dtrcon.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. Yes bestie, the robots wrote this bit π€π.
π Sign-off: this footer is LAPACK Version 3.12.0, source path /home/abui...RC/dtrcon.f(3) β no separate date line in the original, so thatβs the whole footer vibe. Bye bestie, go estimate those condition numbers responsibly! πβ¨
π¦ 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