# dgtcon (l) - Linux Man Pages

## NAME

DGTCON - estimates the reciprocal of the condition number of a real tridiagonal matrix A using the LU factorization as computed by DGTTRF

## SYNOPSIS

SUBROUTINE DGTCON(
NORM, N, DL, D, DU, DU2, IPIV, ANORM, RCOND, WORK, IWORK, INFO )

CHARACTER NORM

INTEGER INFO, N

DOUBLE PRECISION ANORM, RCOND

INTEGER IPIV( * ), IWORK( * )

DOUBLE PRECISION D( * ), DL( * ), DU( * ), DU2( * ), WORK( * )

## PURPOSE

DGTCON estimates the reciprocal of the condition number of a real tridiagonal matrix A using the LU factorization as computed by DGTTRF. An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).

## ARGUMENTS

NORM (input) CHARACTER*1
Specifies whether the 1-norm condition number or the infinity-norm condition number is required:
= aq1aq or aqOaq: 1-norm;
= aqIaq: Infinity-norm.
N (input) INTEGER
The order of the matrix A. N >= 0.
DL (input) DOUBLE PRECISION array, dimension (N-1)
The (n-1) multipliers that define the matrix L from the LU factorization of A as computed by DGTTRF.
D (input) DOUBLE PRECISION array, dimension (N)
The n diagonal elements of the upper triangular matrix U from the LU factorization of A.
DU (input) DOUBLE PRECISION array, dimension (N-1)
The (n-1) elements of the first superdiagonal of U.
DU2 (input) DOUBLE PRECISION array, dimension (N-2)
The (n-2) elements of the second superdiagonal of U.
IPIV (input) INTEGER array, dimension (N)
The pivot indices; for 1 <= i <= n, row i of the matrix was interchanged with row IPIV(i). IPIV(i) will always be either i or i+1; IPIV(i) = i indicates a row interchange was not required.
ANORM (input) DOUBLE PRECISION
If NORM = aq1aq or aqOaq, the 1-norm of the original matrix A. If NORM = aqIaq, the infinity-norm of the original matrix A.
RCOND (output) DOUBLE PRECISION
The reciprocal of the condition number of the matrix A, computed as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the 1-norm of inv(A) computed in this routine.
WORK (workspace) DOUBLE PRECISION array, dimension (2*N)
IWORK (workspace) INTEGER array, dimension (N)
INFO (output) INTEGER
= 0: successful exit
< 0: if INFO = -i, the i-th argument had an illegal value
{"ft_lang_label":"__label__en","ft_lang_prob":0.75425595,"math_prob":0.98750347,"size":3294,"snap":"2021-21-2021-25","text_gpt3_token_len":979,"char_repetition_ratio":0.13130699,"word_repetition_ratio":0.17224081,"special_character_ratio":0.2726169,"punctuation_ratio":0.100328945,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99909806,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-21T20:52:21Z\",\"WARC-Record-ID\":\"<urn:uuid:bd6752bc-0dc7-4e41-820a-1bf19095b1d0>\",\"Content-Length\":\"11708\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:d12a1f5d-3f89-490a-bf91-6274cc67d83b>\",\"WARC-Concurrent-To\":\"<urn:uuid:cc516c72-26d2-46fe-b6d5-20368b799428>\",\"WARC-IP-Address\":\"172.67.167.219\",\"WARC-Target-URI\":\"https://www.systutorials.com/docs/linux/man/l-dgtcon/\",\"WARC-Payload-Digest\":\"sha1:NVF5FSG3IC5SO4MRL5PQJR4WWSDC7NWZ\",\"WARC-Block-Digest\":\"sha1:MJO22VCYNG3JXRK2FPLPE6KJVAITBNK3\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623488289268.76_warc_CC-MAIN-20210621181810-20210621211810-00166.warc.gz\"}"}