1SPPTRI(1) LAPACK routine (version 3.2) SPPTRI(1)
2
3
4
6 SPPTRI - computes the inverse of a real symmetric positive definite
7 matrix A using the Cholesky factorization A = U**T*U or A = L*L**T com‐
8 puted by SPPTRF
9
11 SUBROUTINE SPPTRI( UPLO, N, AP, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, N
16
17 REAL AP( * )
18
20 SPPTRI computes the inverse of a real symmetric positive definite
21 matrix A using the Cholesky factorization A = U**T*U or A = L*L**T com‐
22 puted by SPPTRF.
23
25 UPLO (input) CHARACTER*1
26 = 'U': Upper triangular factor is stored in AP;
27 = 'L': Lower triangular factor is stored in AP.
28
29 N (input) INTEGER
30 The order of the matrix A. N >= 0.
31
32 AP (input/output) REAL array, dimension (N*(N+1)/2)
33 On entry, the triangular factor U or L from the Cholesky fac‐
34 torization A = U**T*U or A = L*L**T, packed columnwise as a
35 linear array. The j-th column of U or L is stored in the array
36 AP as follows: if UPLO = 'U', AP(i + (j-1)*j/2) = U(i,j) for
37 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2n-j)/2) = L(i,j) for
38 j<=i<=n. On exit, the upper or lower triangle of the (symmet‐
39 ric) inverse of A, overwriting the input factor U or L.
40
41 INFO (output) INTEGER
42 = 0: successful exit
43 < 0: if INFO = -i, the i-th argument had an illegal value
44 > 0: if INFO = i, the (i,i) element of the factor U or L is
45 zero, and the inverse could not be computed.
46
47
48
49 LAPACK routine (version 3.2) November 2008 SPPTRI(1)