1STRTRI(1) LAPACK routine (version 3.1) STRTRI(1)
2
3
4
6 STRTRI - the inverse of a real upper or lower triangular matrix A
7
9 SUBROUTINE STRTRI( UPLO, DIAG, N, A, LDA, INFO )
10
11 CHARACTER DIAG, UPLO
12
13 INTEGER INFO, LDA, N
14
15 REAL A( LDA, * )
16
18 STRTRI computes the inverse of a real upper or lower triangular matrix
19 A.
20
21 This is the Level 3 BLAS version of the algorithm.
22
23
25 UPLO (input) CHARACTER*1
26 = 'U': A is upper triangular;
27 = 'L': A is lower triangular.
28
29 DIAG (input) CHARACTER*1
30 = 'N': A is non-unit triangular;
31 = 'U': A is unit triangular.
32
33 N (input) INTEGER
34 The order of the matrix A. N >= 0.
35
36 A (input/output) REAL array, dimension (LDA,N)
37 On entry, the triangular matrix A. If UPLO = 'U', the leading
38 N-by-N upper triangular part of the array A contains the upper
39 triangular matrix, and the strictly lower triangular part of A
40 is not referenced. If UPLO = 'L', the leading N-by-N lower
41 triangular part of the array A contains the lower triangular
42 matrix, and the strictly upper triangular part of A is not ref‐
43 erenced. If DIAG = 'U', the diagonal elements of A are also
44 not referenced and are assumed to be 1. On exit, the (triangu‐
45 lar) inverse of the original matrix, in the same storage for‐
46 mat.
47
48 LDA (input) INTEGER
49 The leading dimension of the array A. LDA >= max(1,N).
50
51 INFO (output) INTEGER
52 = 0: successful exit
53 < 0: if INFO = -i, the i-th argument had an illegal value
54 > 0: if INFO = i, A(i,i) is exactly zero. The triangular
55 matrix is singular and its inverse can not be computed.
56
57
58
59 LAPACK routine (version 3.1) November 2006 STRTRI(1)