1ZGTTRS(1)                LAPACK routine (version 3.1)                ZGTTRS(1)
2
3
4

NAME

6       ZGTTRS  -  one of the systems of equations  A * X = B, A**T * X = B, or
7       A**H * X = B,
8

SYNOPSIS

10       SUBROUTINE ZGTTRS( TRANS, N, NRHS, DL, D, DU, DU2, IPIV, B, LDB, INFO )
11
12           CHARACTER      TRANS
13
14           INTEGER        INFO, LDB, N, NRHS
15
16           INTEGER        IPIV( * )
17
18           COMPLEX*16     B( LDB, * ), D( * ), DL( * ), DU( * ), DU2( * )
19

PURPOSE

21       ZGTTRS solves one of the systems of equations
22          A * X = B,  A**T * X = B,  or  A**H * X  =  B,  with  a  tridiagonal
23       matrix A using the LU factorization computed by ZGTTRF.
24
25

ARGUMENTS

27       TRANS   (input) CHARACTER*1
28               Specifies the form of the system of equations.  = 'N':  A * X =
29               B     (No transpose)
30               = 'T':  A**T * X = B  (Transpose)
31               = 'C':  A**H * X = B  (Conjugate transpose)
32
33       N       (input) INTEGER
34               The order of the matrix A.
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       DL      (input) COMPLEX*16 array, dimension (N-1)
41               The (n-1) multipliers that define the matrix L from the LU fac‐
42               torization of A.
43
44       D       (input) COMPLEX*16 array, dimension (N)
45               The n diagonal elements of the upper triangular matrix  U  from
46               the LU factorization of A.
47
48       DU      (input) COMPLEX*16 array, dimension (N-1)
49               The (n-1) elements of the first super-diagonal of U.
50
51       DU2     (input) COMPLEX*16 array, dimension (N-2)
52               The (n-2) elements of the second super-diagonal of U.
53
54       IPIV    (input) INTEGER array, dimension (N)
55               The  pivot  indices;  for  1 <= i <= n, row i of the matrix was
56               interchanged with row IPIV(i).  IPIV(i) will always be either i
57               or  i+1;  IPIV(i)  =  i  indicates  a  row  interchange was not
58               required.
59
60       B       (input/output) COMPLEX*16 array, dimension (LDB,NRHS)
61               On entry, the matrix of right hand side vectors B.  On exit,  B
62               is overwritten by the solution vectors X.
63
64       LDB     (input) INTEGER
65               The leading dimension of the array B.  LDB >= max(1,N).
66
67       INFO    (output) INTEGER
68               = 0:  successful exit
69               < 0:  if INFO = -k, the k-th argument had an illegal value
70
71
72
73 LAPACK routine (version 3.1)    November 2006                       ZGTTRS(1)
Impressum