1ZSPTRS(1) LAPACK routine (version 3.2) ZSPTRS(1)
2
3
4
6 ZSPTRS - solves a system of linear equations A*X = B with a complex
7 symmetric matrix A stored in packed format using the factorization A =
8 U*D*U**T or A = L*D*L**T computed by ZSPTRF
9
11 SUBROUTINE ZSPTRS( UPLO, N, NRHS, AP, IPIV, B, LDB, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, LDB, N, NRHS
16
17 INTEGER IPIV( * )
18
19 COMPLEX*16 AP( * ), B( LDB, * )
20
22 ZSPTRS solves a system of linear equations A*X = B with a complex sym‐
23 metric matrix A stored in packed format using the factorization A =
24 U*D*U**T or A = L*D*L**T computed by ZSPTRF.
25
27 UPLO (input) CHARACTER*1
28 Specifies whether the details of the factorization are stored
29 as an upper or lower triangular matrix. = 'U': Upper triangu‐
30 lar, form is A = U*D*U**T;
31 = 'L': Lower triangular, form is A = L*D*L**T.
32
33 N (input) INTEGER
34 The order of the matrix A. N >= 0.
35
36 NRHS (input) INTEGER
37 The number of right hand sides, i.e., the number of columns of
38 the matrix B. NRHS >= 0.
39
40 AP (input) COMPLEX*16 array, dimension (N*(N+1)/2)
41 The block diagonal matrix D and the multipliers used to obtain
42 the factor U or L as computed by ZSPTRF, stored as a packed
43 triangular matrix.
44
45 IPIV (input) INTEGER array, dimension (N)
46 Details of the interchanges and the block structure of D as
47 determined by ZSPTRF.
48
49 B (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
50 On entry, the right hand side matrix B. On exit, the solution
51 matrix X.
52
53 LDB (input) INTEGER
54 The leading dimension of the array B. LDB >= max(1,N).
55
56 INFO (output) INTEGER
57 = 0: successful exit
58 < 0: if INFO = -i, the i-th argument had an illegal value
59
60
61
62 LAPACK routine (version 3.2) November 2008 ZSPTRS(1)