1ZPTTS2(1)                LAPACK routine (version 3.2)                ZPTTS2(1)
2
3
4

NAME

6       ZPTTS2  -  solves a tridiagonal system of the form  A * X = B using the
7       factorization A = U'*D*U or A = L*D*L' computed by ZPTTRF
8

SYNOPSIS

10       SUBROUTINE ZPTTS2( IUPLO, N, NRHS, D, E, B, LDB )
11
12           INTEGER        IUPLO, LDB, N, NRHS
13
14           DOUBLE         PRECISION D( * )
15
16           COMPLEX*16     B( LDB, * ), E( * )
17

PURPOSE

19       ZPTTS2 solves a tridiagonal system of the form
20          A * X = B using the factorization A = U'*D*U or A = L*D*L'  computed
21       by  ZPTTRF.  D is a diagonal matrix specified in the vector D, U (or L)
22       is a unit bidiagonal matrix whose superdiagonal (subdiagonal) is speci‐
23       fied in the vector E, and X and B are N by NRHS matrices.
24

ARGUMENTS

26       IUPLO   (input) INTEGER
27               Specifies  the form of the factorization and whether the vector
28               E is the superdiagonal of the upper bidiagonal factor U or  the
29               subdiagonal  of  the  lower  bidiagonal  factor  L.   = 1:  A =
30               U'*D*U, E is the superdiagonal of U
31               = 0:  A = L*D*L', E is the subdiagonal of L
32
33       N       (input) INTEGER
34               The order of the tridiagonal 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       D       (input) DOUBLE PRECISION array, dimension (N)
41               The  n diagonal elements of the diagonal matrix D from the fac‐
42               torization A = U'*D*U or A = L*D*L'.
43
44       E       (input) COMPLEX*16 array, dimension (N-1)
45               If IUPLO = 1, the (n-1)  superdiagonal  elements  of  the  unit
46               bidiagonal  factor  U  from  the  factorization A = U'*D*U.  If
47               IUPLO = 0, the (n-1) subdiagonal elements of the unit  bidiago‐
48               nal factor L from the factorization A = L*D*L'.
49
50       B       (input/output) DOUBLE PRECISION array, dimension (LDB,NRHS)
51               On  entry, the right hand side vectors B for the system of lin‐
52               ear equations.  On exit, the solution vectors, X.
53
54       LDB     (input) INTEGER
55               The leading dimension of the array B.  LDB >= max(1,N).
56
57
58
59 LAPACK routine (version 3.2)    November 2008                       ZPTTS2(1)
Impressum