1CHETRS(1) LAPACK routine (version 3.1) CHETRS(1)
2
3
4
6 CHETRS - a system of linear equations A*X = B with a complex Hermitian
7 matrix A using the factorization A = U*D*U**H or A = L*D*L**H computed
8 by CHETRF
9
11 SUBROUTINE CHETRS( 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 A( LDA, * ), B( LDB, * )
20
22 CHETRS 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 CHETRF.
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 A (input) COMPLEX array, dimension (LDA,N)
42 The block diagonal matrix D and the multipliers used to obtain
43 the factor U or L as computed by CHETRF.
44
45 LDA (input) INTEGER
46 The leading dimension of the array A. LDA >= max(1,N).
47
48 IPIV (input) INTEGER array, dimension (N)
49 Details of the interchanges and the block structure of D as
50 determined by CHETRF.
51
52 B (input/output) COMPLEX array, dimension (LDB,NRHS)
53 On entry, the right hand side matrix B. On exit, the solution
54 matrix X.
55
56 LDB (input) INTEGER
57 The leading dimension of the array B. LDB >= max(1,N).
58
59 INFO (output) INTEGER
60 = 0: successful exit
61 < 0: if INFO = -i, the i-th argument had an illegal value
62
63
64
65 LAPACK routine (version 3.1) November 2006 CHETRS(1)