1ZPPTRS(1) LAPACK routine (version 3.1) ZPPTRS(1)
2
3
4
6 ZPPTRS - a system of linear equations A*X = B with a Hermitian positive
7 definite matrix A in packed storage using the Cholesky factorization A
8 = U**H*U or A = L*L**H computed by ZPPTRF
9
11 SUBROUTINE ZPPTRS( UPLO, N, NRHS, AP, B, LDB, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, LDB, N, NRHS
16
17 COMPLEX*16 AP( * ), B( LDB, * )
18
20 ZPPTRS solves a system of linear equations A*X = B with a Hermitian
21 positive definite matrix A in packed storage using the Cholesky factor‐
22 ization A = U**H*U or A = L*L**H computed by ZPPTRF.
23
24
26 UPLO (input) CHARACTER*1
27 = 'U': Upper triangle of A is stored;
28 = 'L': Lower triangle of A is stored.
29
30 N (input) INTEGER
31 The order of the matrix A. N >= 0.
32
33 NRHS (input) INTEGER
34 The number of right hand sides, i.e., the number of columns of
35 the matrix B. NRHS >= 0.
36
37 AP (input) COMPLEX*16 array, dimension (N*(N+1)/2)
38 The triangular factor U or L from the Cholesky factorization A
39 = U**H*U or A = L*L**H, packed columnwise in a linear array.
40 The j-th column of U or L is stored in the array AP as follows:
41 if UPLO = 'U', AP(i + (j-1)*j/2) = U(i,j) for 1<=i<=j; if UPLO
42 = 'L', AP(i + (j-1)*(2n-j)/2) = L(i,j) for j<=i<=n.
43
44 B (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
45 On entry, the right hand side matrix B. On exit, the solution
46 matrix X.
47
48 LDB (input) INTEGER
49 The leading dimension of the array B. LDB >= 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
55
56
57 LAPACK routine (version 3.1) November 2006 ZPPTRS(1)