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