1ZHETRS(1) LAPACK routine (version 3.2) ZHETRS(1)
2
3
4
6 ZHETRS - solves a system of linear equations A*X = B with a complex
7 Hermitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H
8 computed by ZHETRF
9
11 SUBROUTINE ZHETRS( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
12
13 CHARACTER UPLO
14
15 INTEGER INFO, LDA, LDB, N, NRHS
16
17 INTEGER IPIV( * )
18
19 COMPLEX*16 A( LDA, * ), B( LDB, * )
20
22 ZHETRS solves a system of linear equations A*X = B with a complex Her‐
23 mitian matrix A using the factorization A = U*D*U**H or A = L*D*L**H
24 computed by ZHETRF.
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**H;
31 = 'L': Lower triangular, form is A = L*D*L**H.
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 A (input) COMPLEX*16 array, dimension (LDA,N)
41 The block diagonal matrix D and the multipliers used to obtain
42 the factor U or L as computed by ZHETRF.
43
44 LDA (input) INTEGER
45 The leading dimension of the array A. LDA >= max(1,N).
46
47 IPIV (input) INTEGER array, dimension (N)
48 Details of the interchanges and the block structure of D as
49 determined by ZHETRF.
50
51 B (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
52 On entry, the right hand side matrix B. On exit, the solution
53 matrix X.
54
55 LDB (input) INTEGER
56 The leading dimension of the array B. LDB >= max(1,N).
57
58 INFO (output) INTEGER
59 = 0: successful exit
60 < 0: if INFO = -i, the i-th argument had an illegal value
61
62
63
64 LAPACK routine (version 3.2) November 2008 ZHETRS(1)