DTRT01(3)

๐Ÿ“ฆ version 3.12.0, in opensuse-leap 16.0

okay bestie, welcome to the /home/abui...IN/dtrt01.f(3) page from the Library Functions Manual ๐Ÿ’…โœจ


๐ŸŒธ NAME ๐ŸŒธ

bestie, the NAME line is literally this file path. The original had it wrapped after lapack-, exactly like this:

/home/abuild/rpmbuild/BUILD/lapack-
static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dtrt01.f

joined up, thatโ€™s:

/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dtrt01.f

no cap, thatโ€™s the whole name line ๐Ÿซถ


๐Ÿ’… SYNOPSIS ๐Ÿ’…

๐Ÿงš Functions/Subroutines ๐Ÿงš

  • subroutine DTRT01 (uplo, diag, n, a, lda, ainv, ldainv, rcond, work, resid) โ€” this is the one, the main character ๐Ÿ˜Œ
  • DTRT01 โ€” and yeah, the subroutine is literally named DTRT01
subroutine DTRT01 (uplo, diag, n, a, lda, ainv, ldainv, rcond, work,
    resid)
    DTRT01

๐Ÿฆ‹ Function/Subroutine Documentation ๐Ÿฆ‹

subroutine DTRT01 (character uplo, character diag, integer n, double
    precision, dimension( lda, * ) a, integer lda, double precision,
    dimension( ldainv, * ) ainv, integer ldainv, double precision rcond,
    double precision, dimension( * ) work, double precision resid)
    DTRT01

โœจ Purpose โœจ

okay so DTRT01 computes the residual for a triangular matrix A times its inverse, and the formula is giving:

RESID = norm( A*AINV - I ) / ( N * norm(A) * norm(AINV) * EPS ),

where EPS is the machine epsilon. periodt ๐Ÿ’ซ

๐ŸŽ€ Parameters ๐ŸŽ€

  • UPLO โ€” UPLO is CHARACTER*1. It specifies whether the matrix A is upper or lower triangular. = 'U': Upper triangular; = 'L': Lower triangular. pick your triangle, bestie ๐Ÿ”บ
  • DIAG โ€” DIAG is CHARACTER*1. It specifies whether or not the matrix A is unit triangular. = 'N': Non-unit triangular; = 'U': Unit triangular. so iconic of it ๐Ÿ’…
  • N โ€” N is INTEGER. The order of the matrix A. N >= 0.
  • A โ€” A is DOUBLE PRECISION array, dimension (LDA,N). Itโ€™s the triangular matrix A. If UPLO = 'U', the leading n by n upper triangular part of the array A contains the upper triangular matrix, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading n by n lower triangular part of the array A contains the lower triangular matrix, and the strictly upper triangular part of A is not referenced. If DIAG = 'U', the diagonal elements of A are also not referenced and are assumed to be 1. slay the storage format ๐Ÿ”ฅ
  • LDA โ€” LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N).
  • AINV โ€” AINV is DOUBLE PRECISION array, dimension (LDAINV,N). On entry, itโ€™s the (triangular) inverse of the matrix A, in the same storage format as A. On exit, the contents of AINV are destroyed.
bestie, listen: AINV gets destroyed on exit. not a drill ๐Ÿ’€
  • LDAINV โ€” LDAINV is INTEGER. The leading dimension of the array AINV. LDAINV >= max(1,N).
  • RCOND โ€” RCOND is DOUBLE PRECISION. The reciprocal condition number of A, computed as 1/(norm(A) * norm(AINV)). math girlie behavior ๐Ÿงฎโœจ
  • WORK โ€” WORK is DOUBLE PRECISION array, dimension (N). itโ€™s the workspace, doing its little job ๐Ÿซถ
  • RESID โ€” RESID is DOUBLE PRECISION. Itโ€™s:
norm(A*AINV - I) / ( N * norm(A) * norm(AINV) * EPS )

and thatโ€™s the whole residual vibe check ๐Ÿ’–


๐Ÿ‘‘ Author ๐Ÿ‘‘

  • Univ. of Tennessee
  • Univ. of California Berkeley
  • Univ. of Colorado Denver
  • NAG Ltd.

Definition at line 122 of file dtrt01.f. ๐Ÿงš


๐ŸŽ€ Author ๐ŸŽ€

Generated automatically by Doxygen for LAPACK from the source code.


okay thatโ€™s the whole page! signing off from LAPACK Version 3.12.0 at /home/abui...IN/dtrt01.f(3) ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from