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

NAME

6       DGTTRS - one of the systems of equations  A*X = B or A'*X = B,
7

SYNOPSIS

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

PURPOSE

21       DGTTRS solves one of the systems of equations
22          A*X = B  or  A'*X = B, with a tridiagonal matrix A using the LU fac‐
23       torization computed by DGTTRF.
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'* X = B  (Transpose)
31               = 'C':  A'* X = B  (Conjugate transpose = 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) DOUBLE PRECISION 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) DOUBLE PRECISION 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) DOUBLE PRECISION array, dimension (N-1)
49               The (n-1) elements of the first super-diagonal of U.
50
51       DU2     (input) DOUBLE PRECISION 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) DOUBLE PRECISION 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 = -i, the i-th argument had an illegal value
70
71
72
73 LAPACK routine (version 3.1)    November 2006                       DGTTRS(1)
Impressum